[wp-trac] [WordPress Trac] #15018: Filtering _wp_meta_sql for advanced queries
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 3 14:02:58 UTC 2010
#15018: Filtering _wp_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: metadata
-------------------------+--------------------------------------------------
Comment(by sc0ttkclark):
That would also be useful, as long as these filters remain to. The filters
I'm suggesting would allow a plugin to intercept the meta info and return
a more advanced query allowing a themed to continue using core theming
functions vs using custom wpdb queries. One example is casting the meta
value into a datetime and other various operations. Simply modifying the
meta_query in the beginning wouldn't accomplish that. I'm not against your
suggestion of adding that though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15018#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list