[wp-trac] Re: [WordPress Trac] #2959: wp_list_pages does not add current_page_item class on page_for_posts

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 12 17:10:09 GMT 2009


#2959: wp_list_pages does not add current_page_item class on page_for_posts
--------------------------+-------------------------------------------------
 Reporter:  skeltoac      |        Owner:  mdawaffe
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  2.8     
Component:  Template      |      Version:  2.7     
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by sivel):

 * cc: redbrandonk (removed)
  * status:  closed => reopened
  * version:  2.1 => 2.7
  * resolution:  fixed =>
  * milestone:  2.5 => 2.8

Comment:

 This fix only gives the current_page_item class to the blog page when you
 are on the blog page.  The blog page is no longer given current_page_item
 once you click on one of the posts.  This is something that I have seen
 many users complaining about.

 Perhaps we should give the blog page current_page_parent and maybe even
 current_page_ancestor when on a single post?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2959#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list