[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 13:12:48 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
------------------------------+---------------------------------------------

Comment(by hughestm@…):

 Change to the two lines: need to remove (int) from get_option.

 $front_page_displays = get_option( 'show_on_front' );
 if($front_page_display == 'posts'){$home_page_id=0;}

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


More information about the wp-trac mailing list