[wp-trac] [WordPress Trac] #16563: meta_query should default type to 'STRING'
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 15 05:49:15 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 | Keywords:
--------------------------+-----------------------------
`meta_query` defaults the `type` argument to `CHAR` which does not seem
very intuitive to me (tripped me up when I first started using it). The
default should probably be changed to `STRING` as that's likely to be the
most common usecase.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16563>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list