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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 19:42:41 UTC 2010


#12812: New Nav Menu needs to have ancestor class
-------------------------+--------------------------------------------------
 Reporter:  joostdevalk  |       Owner:                                      
     Type:  enhancement  |      Status:  new                                 
 Priority:  normal       |   Milestone:  3.0                                 
Component:  General      |     Version:                                      
 Severity:  normal       |    Keywords:  has-patch dev-feedback needs-testing
-------------------------+--------------------------------------------------

Comment(by ryan):

 Instead of using global $post, let's try $wp_query->get_queried_object().

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


More information about the wp-trac mailing list