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:
parent
16e3eb7431
commit
07fc6d5bac
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user