[wp-trac] [WordPress Trac] #24705: wp_link_pages() does not showing active current element

WordPress Trac noreply at wordpress.org
Sun Dec 9 22:00:39 UTC 2018


#24705: wp_link_pages() does not showing active current element
------------------------------------+------------------------------
 Reporter:  Alexufo                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Posts, Post Types       |     Version:  2.2
 Severity:  major                   |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:  template
------------------------------------+------------------------------
Changes (by billerickson):

 * keywords:  dev-feedback needs-patch => dev-feedback has-patch


Comment:

 The patch works with WordPress 5.0 ( post-template.php.wp_link_pages.patch
 ) .

 You can also use a filter to add this functionality within your theme. Ex:
 https://gist.github.com/billerickson/82ac2a970c1eaf5358c363c06cbee72f

 I think it would be nice to have built into core, but isn't essential due
 to the existing filter.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/24705#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list