Switch deprecated function like_escape to esc_like

3.0 unstable version of #2433
Merge pull request #2434 from jamesgol/likeescape-3

Switch deprecated function like_escape to esc_like