summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index 1fb41e6..4fc8df2 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -262,7 +262,11 @@ function url_to_postid($url) {
function get_settings($setting) {
global $wpdb;
- $value = wp_cache_get($setting, 'options');
+ if ( defined('WP_INSTALLING') == false ) {
+ $value = wp_cache_get($setting, 'options');
+ } else {
+ $value = false;
+ }
if ( false === $value ) {
if ( defined('WP_INSTALLING') )