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: http://svn.automattic.com/wordpress/trunk@2602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6b2e48c89
commit
7059985cf1
|
@ -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