Update activitypub.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
parent
b803914180
commit
b85b0167c0
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ spl_autoload_register(
|
||||||
require_once \dirname( __FILE__ ) . '/includes/functions.php';
|
require_once \dirname( __FILE__ ) . '/includes/functions.php';
|
||||||
|
|
||||||
// load NodeInfo endpoints only if blog is public
|
// load NodeInfo endpoints only if blog is public
|
||||||
if ( true === (bool) \get_option( 'blog_public', 1 ) ) {
|
if ( \get_option( 'blog_public', 1 ) ) {
|
||||||
Rest\NodeInfo::init();
|
Rest\NodeInfo::init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue