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

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 12 18:12:06 UTC 2010


#12812: New Nav Menu needs to have ancestor class
-------------------------+--------------------------------------------------
 Reporter:  joostdevalk  |        Owner:  filosofo
     Type:  enhancement  |       Status:  closed  
 Priority:  normal       |    Milestone:  3.0     
Component:  Menus        |      Version:  3.0     
 Severity:  blocker      |   Resolution:  fixed   
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by ryanhellyer):

 Why is current_page_ancestor unexpected? Isn't it the current page's
 ancestor?

 Because in this particular case it is the immediate parent of the current
 page and therefore is the page parent, not the page ancestor.

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


More information about the wp-trac mailing list