[wp-trac] [WordPress Trac] #20604: Empty tax_query returns all posts

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 4 13:16:49 UTC 2012


#20604: Empty tax_query returns all posts
--------------------------+---------------------
 Reporter:  Ninos Ego     |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Query         |     Version:  3.3.1
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [22109]:
 {{{
 #!CommitTicketReference repository="" revision="22109"
 An empty taxonomy query should return no results rather than all posts.
 Props wonderboymusic. fixes #20604
 }}}

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


More information about the wp-trac mailing list