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

WordPress Trac noreply at wordpress.org
Sat Aug 3 11:56:38 UTC 2013


#24705: wp_link_pages() does not showing active element
------------------------------------+------------------------------
 Reporter:  Alexufo                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Template                |     Version:  2.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by Frank Klein):

 * cc: contact@… (added)


Comment:

 I updated the previous patch to only add the `current` class to the
 currently active page element.

 Adding this to the function might seem like a tiny improvement, but it
 actually helps a lot if you want to style the active page element via CSS.

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


More information about the wp-trac mailing list