Update activitypub.php

Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
Matthias Pfefferle 2023-05-11 10:53:19 +02:00 committed by GitHub
parent b803914180
commit b85b0167c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ spl_autoload_register(
require_once \dirname( __FILE__ ) . '/includes/functions.php';
// 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();
}