File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ' ;
You can’t perform that action at this time.
0 commit comments