Opened 16 years ago
Closed 16 years ago
#8650 closed defect (bug) (invalid)
WP_Query::get_posts needs a filter on the query_vars
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
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).
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Adds 'query_vars' filter