Hey,
thanks for reaching out! You can do this manually by going to “Plugins”->”Editor”-> and in the right top corner select “Search Everything” plugin and then search-everything.php file. Now comment out line (cca.) 219:
//add_filter( ‘posts_where’, array( &$this, ‘se_no_future’ ) );
After this, find “function se_search_draft_posts” function (lines cca. 422-436) and change it like so:
function se_search_draft_posts( $where ) {
global $wpdb;
if ( !empty( $this->query_instance->query_vars['s'] ) ) {
$where = str_replace( '"', '\'', $where );
if ( !$this->wp_ver28 ) {
$where = str_replace( " AND (post_status = 'publish'", " AND ((post_status = 'publish' OR post_status = 'draft' OR post_status = 'future')", $where );
}
else {
$where = str_replace( " AND ($wpdb->posts.post_status = 'publish'", " AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'draft' OR $wpdb->posts.post_status = 'future'", $where );
}
$where = str_replace( " AND (post_status = 'publish'", " AND (post_status = 'publish' OR post_status = 'draft' OR post_status = 'future'", $where );
}
$this->se_log( "where: ".$where );
return $where;
}
Update the file and in the plugins settings please tick the box next to “Search custom taxonomies”, if you don’t have it already. Don’t forget to save the changes.
Let me know how it goes, take care and have a nice day,
Petra