WordPress.org

Ready to get started?Download WordPress

Forums

Search Everything
bug with quotes : solved (1 post)

  1. erwanpia
    Member
    Posted 2 years ago #

    Hi, searches with quotes could not work on your plugin because you forgot to use addslashes at line 242, should read :

    $search .= sprintf("((%s.post_title LIKE '%s%s%s') OR (%s.post_content LIKE '%s%s%s'))", $wpdb->posts, $n, addslashes_gpc($term), $n, $wpdb->posts, $n, addslashes_gpc($term), $n);

    what do you think ?

    http://wordpress.org/extend/plugins/search-everything/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic