[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:30:36 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  |
-------------------------------+----------------------------------

Comment (by xitromedia):

 i want to force categories to not show posts of a child category. i think
 the parameter 'include_children' is made for this ?!

 i found no other effective way to do this with 'pre_get_posts'.

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


More information about the wp-trac mailing list