mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
trailingslashit() fix for paged posts links from activeingredient. fixes #3163
git-svn-id: http://svn.automattic.com/wordpress/trunk@4603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84ec7763be
commit
1877fbb867
@ -180,7 +180,7 @@ function wp_link_pages($args = '') {
|
||||
if ( '' == get_option('permalink_structure') )
|
||||
$output .= '<a href="' . get_permalink() . '&page=' . $i . '">'.$nextpagelink.'</a>';
|
||||
else
|
||||
$output .= '<a href="'.get_permalink().$i.'/">'.$nextpagelink.'</a>';
|
||||
$output .= '<a href="' . trailingslashit(get_permalink()) . $i . '/">' . $nextpagelink . '</a>';
|
||||
}
|
||||
$output .= $after;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user