[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
Wed Oct 31 22:37:25 UTC 2012


#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:  Future Release
Component:  Query         |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * keywords:   => has-patch
 * owner:   => wonderboymusic
 * status:  new => accepted
 * milestone:  Awaiting Review => Future Release


Comment:

 We need to add WP_Meta_query::clean_query maybe

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


More information about the wp-trac mailing list