[wp-trac] [WordPress Trac] #15018: Filtering get_meta_sql for advanced queries

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 15:59:08 UTC 2010


#15018: Filtering get_meta_sql for advanced queries
-------------------------+--------------------------------------------------
 Reporter:  sc0ttkclark  |        Owner:  scribu  
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:  3.1     
Component:  Plugins      |      Version:  3.1     
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by sc0ttkclark):

  * keywords:  has-patch needs-review =>
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 So there's no way to pass $this into the function as an additional
 argument purely for filter sake?

 For example:

 $clauses = get_meta_sql( $q['meta_query'], 'post', $wpdb->posts, 'ID',
 &$this );

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


More information about the wp-trac mailing list