Fix GUID generation

git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-10-05 07:36:50 +00:00
parent 1114fab5b6
commit 3be6575475
3 changed files with 7 additions and 7 deletions

View File

@@ -300,7 +300,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') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/upgrade.php') )
if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') )
return false;
if ( empty($cache_settings) )