[wp-trac] [WordPress Trac] #32464: Menu args and 'container' => 'false'

WordPress Trac noreply at wordpress.org
Fri May 22 14:55:42 UTC 2015


#32464: Menu args and  'container' => 'false'
----------------------------+-----------------------------
 Reporter:  ChiefAlchemist  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Menus           |    Version:  4.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 See Note 1 and Note 2 as added to the Codex.

 http://codex.wordpress.org/Function_Reference/wp_nav_menu#Removing_the_Navigation_Container

 In short, just having  'container' in the args list will suppress the
 container. And  'container' => true replaces the container's div tag with
 a 1.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32464>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list