Title: REOPEN: Finding deleted posts
Last modified: August 24, 2016

---

# REOPEN: Finding deleted posts

 *  Resolved [iwtravelllc](https://wordpress.org/support/users/iwtravelllc/)
 * (@iwtravelllc)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/reopen-finding-deleted-posts/)
 * I’m reopening a support topic that was closed. This widget is finding posts that
   have been deleted and are stored in the trash can.
 * [https://wordpress.org/plugins/advanced-search-widget/](https://wordpress.org/plugins/advanced-search-widget/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [iwtravelllc](https://wordpress.org/support/users/iwtravelllc/)
 * (@iwtravelllc)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/reopen-finding-deleted-posts/#post-6141832)
 * If any one else is running into this error..
 * Change line 41 in “wp-content/plugins/advanced-search-widget/advanced-search-
   widget.php” to
 *     ```
       $search = "$wpdb->posts.post_type = '".esc_attr($_GET['posttype'])."' AND $wpdb->posts.post_status = 'publish' AND ";
       ```
   
 * This change will be overridden when the plugin is updated unless the update includes
   this change.

Viewing 1 replies (of 1 total)

The topic ‘REOPEN: Finding deleted posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-search-widget.svg)
 * [Advanced Search Widget](https://wordpress.org/plugins/advanced-search-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-search-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-search-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-search-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-search-widget/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [iwtravelllc](https://wordpress.org/support/users/iwtravelllc/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/reopen-finding-deleted-posts/#post-6141832)
 * Status: resolved