• Resolved szabesz

    (@szabesz)


    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!

    • This topic was modified 8 years, 5 months ago by szabesz. Reason: typo
Viewing 1 replies (of 1 total)
  • Plugin Author P?r Thernstr?m

    (@eskapism)

    Thanks for the report. The plugin actually only use like_escape if wpdb::esc_like() is unavailable due to an old version of WordPress. So this should be fixed already.

Viewing 1 replies (of 1 total)
  • The topic ‘like_escape is deprecated since 4.0.0’ is closed to new replies.