mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 08:36:04 +01:00
http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: http://svn.automattic.com/wordpress/trunk@2601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3222cf4dfb
commit
d6b2e48c89
@ -140,7 +140,7 @@ function link_pages($before='<br />', $after='<br />', $next_or_number='number',
|
||||
if ('' == get_settings('permalink_structure')) {
|
||||
echo '<a href="' . get_permalink() . '&page=' . $i . '">';
|
||||
} else {
|
||||
echo '<a href="' . get_permalink() . $i . '/">';
|
||||
echo '<a href="' . trailingslashit( get_permalink() ) . $i . '/">';
|
||||
}
|
||||
}
|
||||
echo $j;
|
||||
|
Loading…
Reference in New Issue
Block a user