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
#1Themify Builder95,3042,1365k+Text Domain Mismatch
#2Podlove Podcast Publisher182,3541,4333k+Output is not escaped
#3SendPress Newsletters192,2931,4221k+Output is not escaped
#4Brizy – Page Builder2058672670k+Output is not escaped
#5Event Organiser201,10454420k+Text Domain Mismatch
#6Forumax – AI Powered Advanced Community Forum Plugin214,9364,353600Text Domain Mismatch
#7bbPress219293,672100k+Non-prefixed function
#8Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More21522,063300k+Non-prefixed global variable
#9LA-Studio Element Kit for Elementor218,4031,88210k+Text Domain Mismatch
#10Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4783,33710k+Non-prefixed global variable
#11ANAC XML Bandi di Gara22294244500Output is not escaped
#12Knowledge Base documentation & wiki plugin – BasePress Docs226711,7672k+Non-prefixed global variable
#13MStore API – Create Native Android & iOS Apps On The Cloud226358563k+SQL query is not prepared
#14Business Directory Plugin – Easy Listing Directories for WordPress236111,06410k+Non-prefixed global variable
#15IMPress for IDX Broker231,0896367k+Text Domain Mismatch
#16Media Library Assistant231,1313,75970k+Nonce verification recommended
#17WP Crowdfunding231991,6292k+Non-prefixed global variable
#18WPMobile.App232,9831,5333k+Output is not escaped
#19WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell236,0042,7615k+Text Domain Mismatch
#20Xpro Addons For Beaver Builder – Lite233,454640700Text Domain Mismatch
#21Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder244,7451,27930k+Non Singular String Literal Domain
#22Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress2453632210k+Text Domain Mismatch
#23Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN243,40886670k+Text Domain Mismatch
#24Quick Event Manager241523881k+Non-prefixed function
#25Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms2440584240k+Nonce verification recommended
#26Tutor LMS – eLearning and online course solution243324,432100k+Non-prefixed global variable
#27Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin249382,935200k+Non-prefixed global variable
#28WP RSS Aggregator – RSS Import, Feed to Post, Autoblogging, AI Content241,77439440k+Text Domain Mismatch
#29PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin251,0841,2969k+Non-prefixed global variable
#30XT Quick View for WooCommerce251,0621,798400Non-prefixed global variable
#31A WP Life Companion261,7044586k+Text Domain Mismatch
#32WPFrank Companion262,3568651k+Text Domain Mismatch
#33Events Calendar for GeoDirectory271,2624622k+Text Domain Mismatch
#34Memberful – Membership Plugin273513361k+Text Domain Mismatch
#35PublishPress Permissions: Control User Access for Posts, Pages, Categories, Tags2742432310k+Missing Translators Comment
#36wp-mpdf271233821k+Non-prefixed global variable
#37YARPP – Yet Another Related Posts Plugin27191331100k+Non-prefixed global variable
#38Vertex Addons for Elementor28232413400Output is not escaped
#39Geo Mashup287752321k+Text Domain Mismatch
#40Product Sort and Display for WooCommerce281902292k+Output is not escaped
#41WP ADA Compliance Check Basic287851773k+Text Domain Mismatch
#42Slider by BestWebSoft29478336400Text Domain Mismatch
#43Themify – WooCommerce Product Filter2964314520k+Output is not escaped
#44Arile Extra3054857610k+Non-prefixed global variable
#45Post Grid, Slider & Carousel Ultimate – with Shortcode, Gutenberg Block & Elementor Widget30231102900Non Singular String Literal Domain
#46Page Builder by SiteOrigin31236214400k+Output is not escaped
#47ACME Divi Modules3257335400Text Domain Mismatch
#48Arile Super323283513k+Non-prefixed global variable
#49Avadanta Companion321,318542k+Text Domain Mismatch
#50Premium Portfolio Features for Phlox theme3320413740k+Output is not escaped