fix NodeInfo check
This commit is contained in:
parent
77112c441f
commit
6d96daa635
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class Activitypub {
|
|||
);
|
||||
}
|
||||
|
||||
if ( ! \class_exists( 'Nodeinfo' ) || (bool) \get_option( 'blog_public', 1 ) ) {
|
||||
if ( ! \class_exists( 'Nodeinfo' ) && true === (bool) \get_option( 'blog_public', 1 ) ) {
|
||||
\add_rewrite_rule(
|
||||
'^.well-known/nodeinfo',
|
||||
'index.php?rest_route=/activitypub/1.0/nodeinfo/discovery',
|
||||
|
|
Loading…
Reference in a new issue