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

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 16:07:00 UTC 2010


#15018: Filtering get_meta_sql for advanced queries
-------------------------+--------------------------------------------------
 Reporter:  sc0ttkclark  |       Owner:  scribu   
     Type:  enhancement  |      Status:  accepted 
 Priority:  normal       |   Milestone:  3.1      
Component:  Plugins      |     Version:  3.1      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by scribu):

 I've given some more thought to this and I don't think a filter would be
 appropriate here.

 get_meta_sql() is supposed to be a protected method, used internally by
 classes that extend WP_Object_Query. If we add a filter, we will be forced
 to keep the method as is.

 Besides, there will be other filters applied on the clauses later.

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


More information about the wp-trac mailing list