Installation cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -541,7 +541,8 @@ function url_to_postid($url = '') {
|
||||
/* Options functions */
|
||||
|
||||
function get_settings($setting) {
|
||||
global $wpdb, $cache_settings, $use_cache;
|
||||
global $wpdb, $cache_settings, $use_cache, $REQUEST_URI;
|
||||
if (strstr($REQUEST_URI, 'install.php')) return false;
|
||||
if ((empty($cache_settings)) OR (!$use_cache)) {
|
||||
$settings = get_alloptions();
|
||||
$cache_settings = $settings;
|
||||
|
||||
Reference in New Issue
Block a user