Added consistant trailing slash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ffcebf236f
commit
b3f30a2877
|
@ -341,7 +341,7 @@ function get_pagenum_link($pagenum = 1){
|
|||
$home_root = preg_replace('|/+|i', '/', $home_root);
|
||||
$qstr = str_replace($home_root . '/', '', $qstr);
|
||||
$qstr = preg_replace('|^/+|', '', $qstr);
|
||||
return preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit(get_settings('home')).$qstr);
|
||||
return preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit( get_settings('home') ) . trailingslashit($qstr) );
|
||||
}
|
||||
|
||||
function next_posts($max_page = 0) { // original by cfactor at cooltux.org
|
||||
|
|
Loading…
Reference in New Issue