[wp-trac] [WordPress Trac] #16563: meta_query should default type to 'STRING'

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 15 06:03:52 UTC 2011


#16563: meta_query should default type to 'STRING'
-------------------------------+------------------------------
 Reporter:  batmoo             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 meta_query doesnt appear to support STRING, using that will cause it to
 revert to CHAR, in the MySQL case here, I'm pretty sure CHAR is the same
 as what you'd expect STRING to be.

 http://core.trac.wordpress.org/browser/trunk/wp-includes/meta.php#L355

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


More information about the wp-trac mailing list