WordPress PHP, why esc_like method is needed for LIKE type of query?
So I'm left a little confused why on WordPress there is a method like esc_like(): https://developer.wordpress.org/reference/classes/wpdb/esc_like/ The advice is that parameter that will be used by LIKE must be escaped with esc_like() to make it safe, like this: $wild =…