[wp-trac] [WordPress Trac] #18707: Meta Query printing "array" in query whwn compara type is LIKE

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 20 02:40:37 UTC 2011


#18707: Meta Query printing "array" in query whwn compara type is LIKE
-------------------------+------------------------------
 Reporter:  tplayer      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------
Changes (by dd32):

 * type:  defect (bug) => enhancement


Comment:

 > According the  WP_Query documentation, array is supported in field
 "value" for meta_query filters.

 The codex just isn't very explicit in the accepted values. A string is
 expected in all cases, except for IN and BETWEEN (and their NOT
 counterparts) which both accept an array (or comma separated list of
 items).

 Marking this as an enhancement as such that it's not broken, just not
 implemented :)

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


More information about the wp-trac mailing list