[wp-trac] [WordPress Trac] #16465: Querying taxonomies can trigger notices
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 5 21:34:51 UTC 2011
#16465: Querying taxonomies can trigger notices
------------------------------+------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch close |
------------------------------+------------------------------
Comment (by hakre):
Replying to [comment:5 scribu]:
> If you also add a 'terms' key, the notices go away.
That's what I thought as first as well.
But even with {{{'terms' = array()}}}, you get the notices.
And that's the [http://core.trac.wordpress.org/browser/trunk/wp-
includes/taxonomy.php#L592 default value] I would expect to see in there
when instantiating {{{WP_Tax_Query}}} as done in
{{{WP_Query->parse_tax_query()}}}.
> Since we don't support taxonomy indexes, this ticket is invalid.
Actually taxonomy indexes are far away from that, I only start to test
against default values here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16465#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list