From 408ca99efe8f5b2f5bd28555ba8081632a8c4ca9 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 18 Mar 2005 06:07:36 +0000 Subject: [PATCH] Fix from Kimmo/Craig git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) )