[wp-trac] [WordPress Trac] #16320: pre_get_posts and category__in affects category dropdown

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 20 19:34:39 UTC 2011


#16320: pre_get_posts and category__in affects category dropdown
--------------------------+------------------------------
 Reporter:  mmuro         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by scribu):

 That's something else.

 Maybe we should make get_queried_object() return NULL when multiple terms
 are involved, since it's not reliable in that case anyway.

 It wouldn't have any backwards-compatibility implications.

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


More information about the wp-trac mailing list