diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a6325d2a96..a521644440 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -303,7 +303,7 @@ function url_to_postid($url = '') { function get_settings($setting) { global $wpdb, $cache_settings, $cache_nonexistantoptions; - if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || constant('WP_INSTALLING') ) + if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || defined('WP_INSTALLING') ) return false; if ( empty($cache_settings) )