Codex Gardening: query_posts

It was pointed out by @pixolin at the docs chat yesterday that query_posts is recommended in various places throughout the WordPress CodexWordPress Codex Living online manual to WordPress.org https://codex.wordpress.org/. Where possible, query_posts shouldn’t be recommended. Lots of developers who are learning about WordPress use the Codex as their bible, and we should always be recommending best practices.

What’s Required?

We need someone to review the instances of query_posts in the Codex. If query_posts can be replaced with another example, then it should be. If query_posts can’t be replaced then there should be a good reason for it.

Simple job: anyone want to take it on? You’ll be doing a great service to our next generation of developers!

#codex