[wp-trac] [WordPress Trac] #18703: 'pre_get_posts'-filter without effect when modifying 'tax_query'. Wrong parameters passed to 'parse_tax_query() ??; WP 3.2.1.

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 19 13:14:38 UTC 2011


#18703: 'pre_get_posts'-filter without effect when modifying 'tax_query'. Wrong
parameters passed to 'parse_tax_query() ??; WP 3.2.1.
-------------------------------+----------------------------------
 Reporter:  xitromedia         |       Owner:  info@…
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.2.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+----------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 What's the exact use-case you're doing here? AFAIK, You shouldn't be
 modifying the tax_query for any core-handled tax queries, rather, you
 should be altering the query vars which create the tax query..

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18703#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list