[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:15:43 UTC 2010
#15935: Single formated post throws notice in custom menu
--------------------------+------------------
Reporter: mfields | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------
Changes (by nacin):
* milestone: Awaiting Review => 3.1
Comment:
This code looks wrong. The parent item is a taxonomy item, sure, but that
doesn't mean that the queried object is going to have term_id. I think I'm
just reading it wrong -- it looks like we make numerous other isset/empty
checks on the `$queried_object` variable in that function.
I imagine filosofo will know immediately what's up.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15935#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list