[wp-trac] [WordPress Trac] #12812: New Nav Menu needs to have ancestor class

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 14 15:35:14 UTC 2010


#12812: New Nav Menu needs to have ancestor class
-------------------------+--------------------------------------------------
 Reporter:  joostdevalk  |        Owner:  filosofo
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:  3.0     
Component:  Menus        |      Version:  3.0     
 Severity:  blocker      |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by ocean90):

  * keywords:  has-patch =>


Comment:

 I get this view http://grab.by/4Vqn. It happens if I had an item twice and
 for example I click the first 'Tags A and C' link. The HTML output:

 {{{
 <ul id="menu-testmenu" class="menu">
 <li id="menu-item-4" class="menu-item menu-item-type-custom"><a
 href="http://localhost/wp/">Home</a></li>
 <li id="menu-item-402" class="menu-item menu-item-type-post_type current-
 menu-item"><a href="http://localhost/wp/blog/archives/166">Tags A and
 C</a></li>
 <li id="menu-item-403" class="menu-item menu-item-type-post_type current-
 menu-parent"><a href="http://localhost/wp/blog/archives/162">Tag B</a>
   <ul class="sub-menu">
     <li id="menu-item-413" class="menu-item menu-item-type-post_type
 current-menu-item"><a href="http://localhost/wp/blog/archives/166">Tags A
 and C</a></li>
   </ul>
 </li>
 </ul>
 }}}

 Perhaps ryanhellyer means this.

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


More information about the wp-trac mailing list