WordPress.WP.DiscouragedFunctions.query_posts_query_posts

Discouraged PHP function

The plugin uses a PHP or WordPress pattern that coding standards discourage.

medium weight

Why It Shows Up

Plugin Check found a discouraged function, forbidden function, goto, backtick operator, or similar construct.

Why It Matters

Discouraged patterns are often harder to review, less portable across hosts, or easier to misuse securely.

How to Fix

  • Identify why the construct is used and whether WordPress provides a safer API.
  • Replace shell execution, dynamic execution, or broad forbidden functions with constrained WordPress APIs.
  • If a third-party library triggers the warning, isolate and document it.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#51IssueM3356173600Request data is not unslashed
#52Telegram Bot & Channel33182113600Unsafe printing function
#53Clean Testimonials3412787400Output is not escaped
#54Podigee WordPress Quick Publish – now with Gutenberg support!3410895700Text Domain Mismatch
#55Editorial Calendar3512716020k+Output is not escaped
#56HivePress – Business Directory, Listings & Classified Ads Plugin353818310k+Direct Query
#57Materialis Companion36129676k+Unsafe printing function
#58Peter’s Post Notes362241023k+Output is not escaped
#59Subscribe to Comments3612916310k+Output is not escaped
#60Simple Custom CSS and JS3716869600k+Output is not escaped
#61Get Custom Field Values3740441k+Output is not escaped
#62List category posts371611780k+Output is not escaped
#63Announcement Bar38192613k+Non Singular String Literal Domain
#64Responsive WordPress Slider – HG Slider3867757k+Missing nonce verification
#65GoodBarber3838731k+Nonce verification recommended
#66WP-EMail38338951k+Unsafe printing function
#67Elementor Website Builder – more than just a page builder394442710m+Non-prefixed global variable
#68Gutenverse News – News Blocks for Blog & Magazine Sites393765800Non-prefixed hook name
#69Post Tiles40465400Output is not escaped
#70Content Widget41729400Output is not escaped
#71PuSHPress42116520k+Missing nonce verification
#72Recent Posts Widget Plus42683500Output is not escaped
#73Vertical marquee post title4210968400Output is not escaped
#74Post title marquee scroll4343251k+Output is not escaped
#75Wpazure Kit44136140800Missing direct file access protection
#76Ascending Posts by Fly Plugins552313500Text Domain Mismatch
#77Insert Pages55523040k+Output is not escaped
#78Random Post for Widget582752k+Output is not escaped
#79Magic Tooltips For Contact Form 7613721700Text Domain Mismatch
#80WP SEO HTML Sitemap6522155k+Output is not escaped
#81Advanced Sitemap Generator8855400Discouraged PHP function