[wp-trac] [WordPress Trac] #24940: wp_link_pages() adds separator before pagination links
WordPress Trac
noreply at wordpress.org
Sat Aug 3 13:22:06 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 | Keywords:
--------------------------+-----------------------------
r23653 introduced a new 'separator' argument that can be passed to
wp_link_pages(). According to the inline documentation, the separator is
used between pagination links.
So if you call the function like this: `wp_link_pages( array( 'separator'
=> ' > ' ) );` the expected output would be "Pages: 1 > 2 > 3", however
the actual output is "Pages: > 1 > 2 > 3".
As I understand the documentation, the separator text should only be
printed between the links and not before.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24940>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list