Opened 20 years ago
Closed 18 years ago
#1477 closed defect (bug) (wontfix)
link_pages() needs a seperator when using next_or_number=next
Reported by: | skippy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 1.5.1.2 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
When using wp_link_pages('next_or_number=next'), the next post and previous post links run together, with no seperator.
The patch attached to this ticket introduces a $sep variable, which defaults to a single space.
function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', $pagelink='%', $more_file='', $sep = ' ') {
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I suck, and should be destroyed.