Currently, this plugin modifies the generated SQL query to work. It would be much better if this were to use pre_get_posts.
The challenge is that there's no simple default, so if post_status isn't set, this plugin would need to reinvent the wheel a bit to set the default to be the same as what WP_Query would set.
Currently, this plugin modifies the generated SQL query to work. It would be much better if this were to use
pre_get_posts
.The challenge is that there's no simple default, so if
post_status
isn't set, this plugin would need to reinvent the wheel a bit to set the default to be the same as what WP_Query would set.