[wp-trac] Re: [WordPress Trac] #9472: wp_list_pages() doesn't apply the "current_page_item/parent/ancestor" classes when browsing image/attachment pages

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 17:31:44 GMT 2009


#9472: wp_list_pages() doesn't apply the "current_page_item/parent/ancestor"
classes when browsing image/attachment pages
--------------------------+-------------------------------------------------
 Reporter:  minusfive     |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  high          |   Milestone:  2.8             
Component:  Themes        |     Version:  2.7.1           
 Severity:  major         |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by aaroncampbell):

  * keywords:  wp_list_pages, is_attachment, current_page_item,
               current_page_parent, current_page_ancestor
               has-patch => has-patch tested


Comment:

 I tested the patch and it works great.  I'm attaching a new diff that
 should be easier to apply, but it's the same code.

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


More information about the wp-trac mailing list