Fix from Kimmo/Craig
git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b52ad1017
commit
408ca99efe
|
@ -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