[wp-trac] [WordPress Trac] #15935: Single formated post throws notice in custom menu
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 21 15:09:32 UTC 2010
#15935: Single formated post throws notice in custom menu
--------------------------+-----------------------------
Reporter: mfields | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Keywords: dev-feedback
--------------------------+-----------------------------
I've tested this a few times using TwentyTen with no plugins in
3.1-beta2-17056. Here are the steps to reproduce:
Create a new aside post and assign it to any category which also appears
in your custom menu.
When you view the post, the following notice should be generated:
Notice: Undefined property: stdClass::$term_id in C:\xampplite\htdocs\3.1
\wp-includes\nav-menu-template.php on line 429
If you assign the same post to a second category which is also represented
in the nav menu, you should see two notices.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15935>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list