Changeset 47808 for trunk/src/wp-includes/ms-load.php
- Timestamp:
- 05/16/2020 06:40:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-load.php
r47219 r47808 21 21 } 22 22 23 return ( defined( 'VHOST' ) && VHOST == 'yes');23 return ( defined( 'VHOST' ) && 'yes' === VHOST ); 24 24 } 25 25 … … 47 47 foreach ( $active_plugins as $plugin ) { 48 48 if ( ! validate_file( $plugin ) // $plugin must validate as file. 49 && '.php' == substr( $plugin, -4 )// $plugin must end with '.php'.49 && '.php' === substr( $plugin, -4 ) // $plugin must end with '.php'. 50 50 && file_exists( WP_PLUGIN_DIR . '/' . $plugin ) // $plugin must exist. 51 51 ) { … … 500 500 $msg .= ' ' . __( 'If you’re still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>'; 501 501 foreach ( $wpdb->tables( 'global' ) as $t => $table ) { 502 if ( 'sitecategories' == $t ) {502 if ( 'sitecategories' === $t ) { 503 503 continue; 504 504 }
Note: See TracChangeset
for help on using the changeset viewer.