[wp-trac] [WordPress Trac] #8650: WP_Query::get_posts needs a
filter on the query_vars
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 17 17:43:33 GMT 2008
#8650: WP_Query::get_posts needs a filter on the query_vars
---------------------------+------------------------------------------------
Reporter: AaronCampbell | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Keywords: has-patch needs-testing
---------------------------+------------------------------------------------
You can filter the WHERE string after it's been assembled by
WP_Query::get_posts but you can't filter the query vars that are used to
build that string BEFORE it's built. It would be REALLY nice to have that
ability, so that a plugin could simply adjust the query vars and still let
WP_Query::get_posts build the WHERE (JOIN, etc).
--
Ticket URL: <http://trac.wordpress.org/ticket/8650>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list