http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?

git-svn-id: https://develop.svn.wordpress.org/trunk@2602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-05-13 21:11:26 +00:00
parent 16e3eb7431
commit 07fc6d5bac
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ function get_pagenum_link($pagenum = 1) {
$qstr = preg_replace('|^'. $home_root . '|', '', $qstr);
$qstr = preg_replace('|^/+|', '', $qstr);
$index = $_SERVER['SCRIPT_NAME'];
$index = $_SERVER['PHP_SELF'];
$index = preg_replace('|^'. $home_root . '|', '', $index);
$index = preg_replace('|^/+|', '', $index);