http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: https://develop.svn.wordpress.org/trunk@2601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
005b51f0d4
commit
16e3eb7431
|
@ -140,7 +140,7 @@ function link_pages($before='<br />', $after='<br />', $next_or_number='number',
|
||||||
if ('' == get_settings('permalink_structure')) {
|
if ('' == get_settings('permalink_structure')) {
|
||||||
echo '<a href="' . get_permalink() . '&page=' . $i . '">';
|
echo '<a href="' . get_permalink() . '&page=' . $i . '">';
|
||||||
} else {
|
} else {
|
||||||
echo '<a href="' . get_permalink() . $i . '/">';
|
echo '<a href="' . trailingslashit( get_permalink() ) . $i . '/">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo $j;
|
echo $j;
|
||||||
|
|
Loading…
Reference in New Issue