[wp-trac] [WordPress Trac] #14551: menu item : current_page_parent : issue with Front page displays

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 6 12:46:24 UTC 2010


#14551: menu item : current_page_parent : issue with Front page displays
------------------------------+---------------------------------------------
 Reporter:  hughestm@…        |       Owner:                                          
     Type:  defect (bug)      |      Status:  new                                     
 Priority:  normal            |   Milestone:  Awaiting Review                         
Component:  Menus             |     Version:  3.0.1                                   
 Severity:  normal            |    Keywords:  current_page_parent, menu, posts on page
------------------------------+---------------------------------------------
 Settings > Reading > Front page displays: set to your latest posts
 Settings > Reading > Posts page: set to anything

 When the menus are building, they are only checking that something was set
 by the dropdown for posts page, even though the parent setting says the
 posts are to be on the home page.  The pages on the site have the correct
 logic, however the menu adds "current_page_parent" to the item selected in
 the "Posts page" menu, even though it's not really the parent.

 The work around is to just remember if you switch from having posts on a
 different page back to having them on the front, you need to set the
 "Posts page" back to "select" and everything works correctly, but getting
 users in my multi-site install to do that might be asking a bit much.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14551>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list