[wp-trac] [WordPress Trac] #22096: IN meta_query with empty array as meta_value results in invalid database query

WordPress Trac noreply at wordpress.org
Mon Apr 29 09:06:36 UTC 2013


#22096: IN meta_query with empty array as meta_value results in invalid database
query
--------------------------+-----------------------------
 Reporter:  batmoo        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.6
Component:  Query         |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by westi):

 @wonderboymusic I just came across an incident of this again and wrote the
 above unit test.

 Is this ready to commit or are there more test cases we should add here?

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


More information about the wp-trac mailing list