diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 8d13a1e71..c5b0c85e0 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -322,7 +322,7 @@ function get_settings($setting) { $option = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = '$setting'"); if (!$option) : - $cache_nonexistantoptions[] = $setting; + $cache_nonexistantoptions[$setting] = true; return false; endif;