[wp-trac] [WordPress Trac] #42409: Add LIKE support to meta_key comparisons in WP_Meta_Query

WordPress Trac noreply at wordpress.org
Thu Mar 1 03:37:21 UTC 2018


#42409: Add LIKE support to meta_key comparisons in WP_Meta_Query
-------------------------------------------------+-------------------------
 Reporter:  Otto42                               |       Owner:
     Type:  enhancement                          |  boonebgorges
 Priority:  normal                               |      Status:  assigned
Component:  Query                                |   Milestone:  5.0
 Severity:  normal                               |     Version:  4.9
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:
  tests 2nd-opinion                              |     Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * owner:  mariovalney => boonebgorges
 * milestone:  Awaiting Review => 5.0


Comment:

 @mariovalney Thank you for chiming in. Agreed that a filter-based approach
 doesn't feel right (for "true" `LIKE` behavior, that is), and you make a
 very good point about custom operators. We should have separate tickets
 for each of these different projects. Let me clear this one out first, and
 I'll open those up for discussion.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42409#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list