Changeset 47122 for trunk/src/wp-includes/ms-load.php
- Timestamp:
- 01/29/2020 12:43:23 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-load.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-load.php
r47101 r47122 46 46 47 47 foreach ( $active_plugins as $plugin ) { 48 if ( ! validate_file( $plugin ) // $plugin must validate as file49 && '.php' == substr( $plugin, -4 ) // $plugin must end with '.php'50 && file_exists( WP_PLUGIN_DIR . '/' . $plugin ) // $plugin must exist 48 if ( ! validate_file( $plugin ) // $plugin must validate as file. 49 && '.php' == substr( $plugin, -4 ) // $plugin must end with '.php'. 50 && file_exists( WP_PLUGIN_DIR . '/' . $plugin ) // $plugin must exist. 51 51 ) { 52 52 $plugins[] = WP_PLUGIN_DIR . '/' . $plugin; … … 86 86 } 87 87 88 // Allow super admins to see blocked sites 88 // Allow super admins to see blocked sites. 89 89 if ( is_super_admin() ) { 90 90 return true; … … 222 222 /* 223 223 * @todo 224 * caching, etc. Consider alternative optimization routes,224 * Caching, etc. Consider alternative optimization routes, 225 225 * perhaps as an opt-in for plugins, rather than using the pre_* filter. 226 226 * For example: The segments filter can expand or ignore paths. … … 306 306 if ( defined( 'BLOG_ID_CURRENT_SITE' ) ) { 307 307 $current_site->blog_id = BLOG_ID_CURRENT_SITE; 308 } elseif ( defined( 'BLOGID_CURRENT_SITE' ) ) { // deprecated.308 } elseif ( defined( 'BLOGID_CURRENT_SITE' ) ) { // Deprecated. 309 309 $current_site->blog_id = BLOGID_CURRENT_SITE; 310 310 } … … 420 420 $destination .= 'wp-signup.php?new=' . str_replace( '.' . $current_site->domain, '', $domain ); 421 421 } elseif ( $subdomain ) { 422 // For a "subdomain" installation, the NOBLOGREDIRECT constant 423 // can be used to avoid a redirect to the signup form. 424 // Using the ms_site_not_found action is preferred to the constant. 422 /* 423 * For a "subdomain" installation, the NOBLOGREDIRECT constant 424 * can be used to avoid a redirect to the signup form. 425 * Using the ms_site_not_found action is preferred to the constant. 426 */ 425 427 if ( '%siteurl%' !== NOBLOGREDIRECT ) { 426 428 $destination = NOBLOGREDIRECT;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)