WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Search Everything] bug with quotes : solved

[Plugin: Search Everything] bug with quotes : solved

  • 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/

  • The topic ‘[Plugin: Search Everything] bug with quotes : solved’ is closed to new replies.