[wp-trac] [WordPress Trac] #42746: Custom query using LIKE compare method adds weird hash-like strings around search string

WordPress Trac noreply at wordpress.org
Wed Nov 29 23:24:25 UTC 2017


#42746: Custom query using LIKE compare method adds weird hash-like strings around
search string
--------------------------+------------------------
 Reporter:  ragingtroll   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.9
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 After WordPress 4.8.3 this is expected.

 Please see the comments on #42653 and #42409  for adding support for using
 `LIKE` against `meta_key` (You've probably got another filter somewhere on
 the SQL which is now failing, which wasn't included in the ticket details)

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


More information about the wp-trac mailing list