[wp-trac] [WordPress Trac] #16465: Querying taxonomies can trigger notices
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 5 21:52:38 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 scribu):
Replying to [comment:6 hakre]:
> But even with {{{'terms' = array()}}}, you get the notices.
That's equivalent to not setting it at all. The idea is that you're not
passing any terms. The notices go away if you set {{{'terms' =>
array('foo')}}}.
You also have {{{'taxonomy' => ''}}} as a default, but you don't expect
that to work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16465#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list