Added consistant trailing slash.

git-svn-id: https://develop.svn.wordpress.org/trunk@1384 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-06-02 21:43:18 +00:00
parent 4530008ec8
commit 2146da7f5c
1 changed files with 1 additions and 1 deletions

View File

@ -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