Remove querystring variable legacy code

git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-02-07 07:37:53 +00:00
parent aa6f078dae
commit 5173c86910
9 changed files with 28 additions and 56 deletions
-3
View File
@@ -9,9 +9,6 @@ if (preg_match('#([^/]+.php)#', $PHP_SELF, $self_matches)) {
$pagenow = trim($pagenow[(sizeof($pagenow)-1)]);
$pagenow = explode('?', $pagenow);
$pagenow = $pagenow[0];
if (($querystring_start == '/') && ($pagenow != 'post.php')) {
$pagenow = get_settings('siteurl') . '/';
}
} else {
$pagenow = 'index.php';
}