[wp-trac] Re: [WordPress Trac] #8650: WP_Query::get_posts needs a filter on the query_vars

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 30 19:23:58 GMT 2008


#8650: WP_Query::get_posts needs a filter on the query_vars
-------------------------------------+--------------------------------------
 Reporter:  AaronCampbell            |        Owner:  anonymous
     Type:  defect (bug)             |       Status:  new      
 Priority:  normal                   |    Milestone:  2.7.1    
Component:  General                  |      Version:  2.7      
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by ryan):

 There's already a query_vars filter in WP::parse_request(). That filters
 the vars for the main query.  If you really need a filter within
 WP_query(), it needs to have a different name.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8650#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list