Opened 12 years ago
Closed 12 years ago
#25431 closed enhancement (duplicate)
like_escape in meta_query
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.6.1 |
| Component: | Query | Keywords: | |
| Focuses: | Cc: |
Description
Array (
[post_type] => gallery_post
[posts_per_page] => 4
[paged] => 1
[meta_query] => Array (
[0] => Array (
[key] => author
[value] => B%
[compare] => LIKE
)
)
)
Right now, like_escape is used in the meta_query value, but what if I want values starting with letter B, like in the example above?
Why not let the user explicitly use like_escape or add a flag or something to keep backwards compatibility?
Change History (1)
Note: See
TracTickets for help on using
tickets.
#19738, #23919