Changeset 34828 for trunk/src/wp-includes/load.php
- Timestamp:
- 10/05/2015 03:05:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r34462 r34828 166 166 */ 167 167 function wp_maintenance() { 168 if ( ! file_exists( ABSPATH . '.maintenance' ) || defined( 'WP_INSTALLING') )168 if ( ! file_exists( ABSPATH . '.maintenance' ) || wp_installing() ) 169 169 return; 170 170 … … 476 476 function wp_not_installed() { 477 477 if ( is_multisite() ) { 478 if ( ! is_blog_installed() && ! defined( 'WP_INSTALLING') ) {478 if ( ! is_blog_installed() && ! wp_installing() ) { 479 479 nocache_headers(); 480 480 481 481 wp_die( __( 'The site you have requested is not installed properly. Please contact the system administrator.' ) ); 482 482 } 483 } elseif ( ! is_blog_installed() && ! defined( 'WP_INSTALLING') ) {483 } elseif ( ! is_blog_installed() && ! wp_installing() ) { 484 484 nocache_headers(); 485 485 … … 540 540 $plugins = array(); 541 541 $active_plugins = (array) get_option( 'active_plugins', array() ); 542 if ( empty( $active_plugins ) || defined( 'WP_INSTALLING') )542 if ( empty( $active_plugins ) || wp_installing() ) 543 543 return $plugins; 544 544
Note: See TracChangeset
for help on using the changeset viewer.