[wp-trac] [WordPress Trac] #16152: category__in now shows posts from children categories too

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 9 23:54:45 UTC 2011

#16152: category__in now shows posts from children categories too
 Reporter:  linuxologos       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.1
Component:  Query             |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |

Comment (by Denis-de-Bernardy):

 Replying to [comment:21 ryan]:
 > The change prevents only 'cat' from being processed again. I don't see a
 need to double process that.  The flag is cleared for subsequent query()
 calls made using the same object.

 I'll give it a quick whirl this week (and change my forked plugin if
 needed). But my point was, I was mainly worried of old time plugins (which
 are still in use) along the lines of Custom Query String, which worked
 fine to date in spite of being massively obsolete, and which calls
 $wp_query->parse_query() using arbitrary arguments to do its stuff.

Ticket URL: <http://core.trac.wordpress.org/ticket/16152#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list