[wp-trac] [WordPress Trac] #24940: wp_link_pages() adds separator before pagination links

WordPress Trac noreply at wordpress.org
Tue Aug 6 10:26:00 UTC 2013


#24940: wp_link_pages() adds separator before pagination links
--------------------------+------------------------------
 Reporter:  Frank Klein   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by Frank Klein):

 Thanks for posting the link to the IRC discussion.

 I still think that removing the first separator would have made more
 sense. If you want to add a separator before the page links, you can
 easily use the `before` argument.

 But if you don't want to have a separator prepended, you need to filter
 the output via the `wp_link_pages` filter, which seems like a lot of work
 for the desired result.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24940#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list