Fix from Kimmo/Craig
git-svn-id: http://svn.automattic.com/wordpress/trunk@2456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5b6f2a148c
commit
56933a4e6d
|
@ -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) )
|
||||
|
|
Loading…
Reference in New Issue