[wp-trac] [WordPress Trac] #15018: Filtering _wp_meta_sql for advanced queries
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 3 10:07:48 UTC 2010
#15018: Filtering _wp_meta_sql for advanced queries
-------------------------+--------------------------------------------------
Reporter: sc0ttkclark | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Plugins | Version: 3.1
Severity: normal | Keywords: metadata
-------------------------+--------------------------------------------------
Changes (by scribu):
* milestone: Awaiting Review => 3.1
Comment:
I was thinking it would be more useful if you were able to modify
$wp_query->meta_query, before it was sent to _wp_meta_sql().
This can be achieved by moving it up in parse_query() and then plugins
could use existing filters, like 'parse_query' and 'pre_get_posts'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15018#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list