More upgrade fixes for b2.

git-svn-id: https://develop.svn.wordpress.org/trunk@763 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-01-12 12:50:32 +00:00
parent 0b08f1365d
commit e2155a6bcc
3 changed files with 7 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ require (ABSPATH . WPINC . '/kses.php');
// We should eventually migrate to either calling
// get_settings() wherever these are needed OR
// accessing a single global $all_settings var
if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php')) {
if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php') && !strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'wp-admin/import')) {
$siteurl = get_settings('siteurl');
// "When trying to design a foolproof system,
// never underestimate the ingenuity of the fools :)"