[wp-trac] [WordPress Trac] #11817: Better Site Menu Management

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 04:33:49 UTC 2010


#11817: Better Site Menu Management
----------------------------+-----------------------------------------------
 Reporter:  scribu          |        Owner:          
     Type:  task (blessed)  |       Status:  reopened
 Priority:  normal          |    Milestone:  3.0     
Component:  General         |      Version:          
 Severity:  normal          |   Resolution:          
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------

Comment(by greenshady):

 Can anyone confirm that calling the menu by slug or name doesn't work?
 It's only pulling the first available menu when I do one of these:

 {{{
 wp_nav_menu( array( 'menu' => 'primary-menu' ) ); // By slug

 wp_nav_menu( array( 'menu' => 'Primary Menu' ) ); // By name
 }}}

 But, calling a menu by ID does work?

 {{{
 wp_nav_menu( array( 'menu' => '100' ) ); // By ID
 }}}

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


More information about the wp-trac mailing list