[wp-trac] [WordPress Trac] #12891: Advanced multi-taxonomy WP_Query()s
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 16 17:51:04 UTC 2010
#12891: Advanced multi-taxonomy WP_Query()s
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.0.1
Severity: normal | Keywords: ongoing-project
----------------------------+-----------------------------------------------
Comment(by scribu):
[http://core.trac.wordpress.org/attachment/ticket/12891/scale.12891.diff
scale.12891.diff]:
Queries for existing term ids first.
This avoids the scaling problem when doing something like
{{{cat=-123456}}}, which will have no effect (and therefore no performance
penalty) if that category doesn't exist.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12891#comment:105>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list