[wp-trac] [WordPress Trac] #17590: wp_list_pages() not setting "current_page_item" classes on custom post types
WordPress Trac
noreply at wordpress.org
Wed Mar 26 22:46:17 UTC 2014
#17590: wp_list_pages() not setting "current_page_item" classes on custom post
types
-------------------------------+-----------------------------
Reporter: tobiasn | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
-------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"27755"]:
{{{
#!CommitTicketReference repository="" revision="27755"
In `wp_list_pages()`, add the `current_page_item` class where applicable
when used with a custom post type.
Adds a unit test.
Props nacin.
Fixes #17590.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17590#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list