[wp-trac] [WordPress Trac] #13669: Nav menu parameters not working
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 1 19:16:54 UTC 2010
#13669: Nav menu parameters not working
--------------------------+-------------------------------------------------
Reporter: vteixeira | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by vteixeira):
* status: closed => reopened
* resolution: worksforme =>
Comment:
So, there's something very wrong here.
If the container_class applies to the container (<div>), why the
container_id applies to the menu (<ul>)?
I think the container_class and menu_class parameters are working as
expected but the container_id is totally wrong.
On the Codex it says:
$container_class
(string) (optional) The parent element class
Default: blank
$container_id
(string) (optional) The parent element id parameter
Default: blank
So both applies to the same element - <div> (the container)
But it's not what we get on the output. So I think it must be fixed by
applying the container_class parameter to the correct element.
I'll reopen.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13669#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list