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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 22 19:32:36 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 ryan):

 Now that we're on PHP5 can we lose call_user_func_array() on get_sql() and
 simply do $this->meta_query->get_sql( 'post', $wpdb->posts, 'ID', $this)?

 Should the constructor call parse_query_vars() on $meta_query?

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

More information about the wp-trac mailing list