Warning for usage of query_posts()
in favor of WP_Query
#723
Labels
[Team] Plugin Review
Issues owned by Plugin Review Team
[Type] Enhancement
A suggestion for improvement of an existing feature
Show warning for usage of
query_posts()
in favor ofWP_Query
. Similarly warn usage ofwp_reset_query()
in favor ofwp_reset_postdata()
We could use DiscouragedFunctions sniff from WPCS to achieve this.
The text was updated successfully, but these errors were encountered: