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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 07:17:53 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:  needs-patch  |  
-------------------------+--------------------------------------------------

Comment(by scribu):

 > You still need the context if call from WP_Query else the function is
 next to useless as you can't target any extra query variables you may have
 added

 Could you provide an example where you would need access to the other
 query variables from the 'get_meta_sql' filter?

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


More information about the wp-trac mailing list