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

WordPress Trac wp-trac at lists.automattic.com
Tue May 25 18:58:41 UTC 2010


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

Comment(by ryan):

 This warning is generated when clicking a category link:

 {{{
 PHP Notice:  Undefined property: stdClass::$post_type in /.../wp-includes
 /nav-menu-template.php on line 364
 }}}

 And this one for the same line when clicking a custom link:

 {{{
 PHP Notice:  Trying to get property of non-object in /.../wp-includes/nav-
 menu-template.php on line 364
 }}}

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


More information about the wp-trac mailing list