Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10041, comment 28


Ignore:
Timestamp:
04/05/2014 08:41:20 AM (11 years ago)
Author:
Denis-de-Bernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10041, comment 28

    initial v1  
    22> I'm thinking like_escape() needs to be deprecated at this point.
    33
    4 If you do, can I suggest naming the new function as `quote_like()` or `quote_like_sql()` rather than `esc_like()` or `esc_like_sql()`, to make it clearer that it's not actually escaping anything, but merely quoting LIKE special chars.
     4If you do, can I suggest naming the new function as `quote_like()` or `quote_sql_like()` or `quote_like_sql()` rather than `esc_like()` or `esc_sql_like()` or `esc_like_sql()`, to make it clearer that it's not actually escaping anything, but merely quoting LIKE special chars.