mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user