Changeset 1450
- Timestamp:
- 06/30/2004 09:54:10 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1449 r1450 288 288 function get_settings($setting) { 289 289 global $wpdb, $cache_settings; 290 if ( strstr($_SERVER['REQUEST_URI'], ' install.php') || strstr($_SERVER['REQUEST_URI'], 'upgrade.php') )290 if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/upgrade.php') ) 291 291 return false; 292 292 … … 294 294 $cache_settings = get_alloptions(); 295 295 296 if ('home' == $setting && '' == $cache_settings->home) return $cache_settings->siteurl; 296 if ('home' == $setting && '' == $cache_settings->home) 297 return $cache_settings->siteurl; 297 298 298 299 if ( isset($cache_settings->$setting) )
Note: See TracChangeset
for help on using the changeset viewer.