like_escape is deprecated since 4.0.0
-
Hello,
I have just stumbled upon a cool plugin called Plugin Inspector by Gioni. This plugin looks for deprecated WordPress functions and other possible issues in the code of other plugins.
While testing this plugin, I noticed that it reports:
Deprecated/simple-history/inc/SimpleHistoryLogQuery.php view source
like_escape at line 419:
$str_like = esc_sql( like_escape( $one_search_word ) );
Deprecated 4.0.0 Use wpdb::esc_like()
like_escape at line 448:
$str_like = esc_sql( like_escape( $one_search_word ) );
Deprecated 4.0.0 Use wpdb::esc_like()Hope you can eliminate the issue in the future.
BTW: This is a wonderful plugin and keeps getting better. Keep up the good work!
- The topic ‘like_escape is deprecated since 4.0.0’ is closed to new replies.