Skip to content

Commit 61b54bb

Browse files
committed
Remove unnecessary changes
1 parent 250f655 commit 61b54bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mu-plugins/rest-api/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function initialize_rest_endpoints() {
2121
$users_controller->register_routes();
2222

2323
// The Site Quality controller is only needed on the main site. Note: domain check is due to this plugin running on multiple networks.
24-
// if ( 1 === get_current_blog_id() && 'wordpress.org' === get_blog_details()->domain ) {
25-
// require_once __DIR__ . '/endpoints/class-wporg-site-quality-controller.php';
26-
// }
24+
if ( 1 === get_current_blog_id() && 'wordpress.org' === get_blog_details()->domain ) {
25+
require_once __DIR__ . '/endpoints/class-wporg-site-quality-controller.php';
26+
}
2727

2828
if ( defined( 'WPORG_THEME_DIRECTORY_BLOGID' ) && WPORG_THEME_DIRECTORY_BLOGID === get_current_blog_id() ) {
2929
require_once __DIR__ . '/endpoints/class-wporg-base-locale-banner-controller.php';

0 commit comments

Comments
 (0)