We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b49cc53 + b9fd26e commit 51a3745Copy full SHA for 51a3745
activitypub.php
@@ -54,7 +54,7 @@ function init() {
54
\Activitypub\Rest\Webfinger::init();
55
56
// load NodeInfo endpoints only if blog is public
57
- if ( 1 === \get_option( 'blog_public', 1 ) ) {
+ if ( true === (bool) \get_option( 'blog_public', 1 ) ) {
58
require_once \dirname( __FILE__ ) . '/includes/rest/class-nodeinfo.php';
59
\Activitypub\Rest\NodeInfo::init();
60
}
0 commit comments