[wp-trac] [WordPress Trac] #17165: Introduce WP_Meta_Query

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 21:23:11 UTC 2011


#17165: Introduce WP_Meta_Query
-------------------------------------+------------------
 Reporter:  scribu                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.2
Component:  Query                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by scribu):

 Unlike tax_query, we don't need to set any query flags based on
 meta_query.

 Therefore, we can call {{{meta_query->parse_query_vars()}}} only once, at
 the beginning of {{{WP_Query::get_posts()}}}.

 This is what [attachment:17165.6.diff] does.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17165#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list