[wp-trac] [WordPress Trac] #32464: Menu args and 'container' => 'false'
WordPress Trac
noreply at wordpress.org
Fri Sep 25 20:10:23 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 | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by shedonist):
Tested this and verified that passing
{{{
'container'= true
}}}
does results in a "1" being used as the element name. For example:
{{{
<1 class="menu-main-container">
}}}
Since the default container value is 'div', it makes sense to default to
'div' when 'true' is passed in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32464#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list