WordPress.WP.DiscouragedFunctions.wp_reset_query_wp_reset_query

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,2072,1255k+Text Domain Mismatch
#2MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#3RestroPress – Online Food Ordering System185213,0821k+Non-prefixed global variable
#4WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#5SendPress Newsletters192,2931,4221k+Output is not escaped
#6SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments195251,12080k+Non-prefixed global variable
#7Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC)207362,112900Non-prefixed global variable
#8Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#9Nimble Page Builder201,5911,68430k+Missing Arg Domain
#10School Management System – WPSchoolPress203535,2751k+Non-prefixed global variable
#11Forumax – AI Powered Advanced Community Forum Plugin214,9354,354600Text Domain Mismatch
#12bbPress219293,672100k+Non-prefixed function
#13BWD Elementor Addons216701,168400Non-prefixed global variable
#14Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4783,33710k+Non-prefixed global variable
#15Landing Page Builder – Coming Soon page, Maintenance Mode, Lead Page, WordPress Landing Pages211,1202,9139k+Non-prefixed global variable
#16Five Star Restaurant Reservations – WordPress Booking Plugin211,0991,14710k+Output is not escaped
#17Royal Addons for Elementor – Addons and Templates Kit for Elementor2113,0112,530600k+Text Domain Mismatch
#18Testerwp ecommerce companion218114361k+Text Domain Mismatch
#19ANAC XML Bandi di Gara22294244600Output is not escaped
#20Download Manager222,5131,462100k+Output is not escaped
#21Employee Spotlight – Team Member Showcase & Meet the Team Plugin22247689400Non-prefixed hook name
#22GeoDirectory – WP Business Directory Plugin and Classified Listings Directory224,4663,97210k+Output is not escaped
#23IMPress for IDX Broker221,0856366k+Text Domain Mismatch
#24Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider22207323500k+Non-prefixed global variable
#25Salon Booking System – Free Version226556202k+Missing direct file access protection
#26Simple Job Board226341,35510k+Non-prefixed global variable
#27Slim Jetpack222,5861,9472k+Text Domain Mismatch
#28Walker Core221,3511,436700Non-prefixed global variable
#29WCFM – Frontend Manager for WooCommerce224,7545,05420k+Non-prefixed global variable
#30CoDesigner – All in One Elementor WooCommerce Builder224,1317745k+Text Domain Mismatch
#31Master Accordion ( Former WP Awesome FAQ Plugin )221,7741,286700Non-prefixed global variable
#32Shortcodes and extra features for Phlox theme2341242490k+Output is not escaped
#33Business Directory Plugin – Easy Listing Directories for WordPress236111,06310k+Non-prefixed global variable
#34Products Suggestions for WooCommerce23707505700Output is not escaped
#35WPBot – AI ChatBot for Live Support, Lead Generation, AI Services234881,1625k+Non-prefixed global variable
#36ElementsReady Addons for Elementor232316663k+Non-prefixed global variable
#37Feed Them Social – Social Media Feeds, Video, and Photo Galleries2356353520k+Output is not escaped
#38Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder234,7461,27930k+Non Singular String Literal Domain
#39Anti-Malware Security and Brute-Force Firewall23543965100k+Output is not escaped
#40Groovy Menu Plugin (Free)231,7292834k+Text Domain Mismatch
#41Hunk Companion232,5476876k+Text Domain Mismatch
#42Ibtana – Ecommerce Product Addons231,5471,7186k+Non Singular String Literal Domain
#43Like Button Rating ♥ LikeBtn231,2316174k+Unsafe printing function
#44Master Addons For Elementor – Widgets, Extensions, Theme Builder, Popup Builder & Template Kits235251,54130k+Non-prefixed global variable
#45MediaPress239045834k+Output is not escaped
#46MP3 Audio Player – Music Player, Podcast Player & Radio by Sonaar234,06548820k+Text Domain Mismatch
#47ND Shortcodes236212,42620k+Non-prefixed global variable
#48Nirweb support23254617800Request data is not unslashed
#49Request a Quote – Quote Forms for Any WordPress Site232401,099900Non-prefixed hook name
#50The Post Grid – Shortcode, Gutenberg Blocks and Elementor Addon for Post Grid231051,013100k+Non-prefixed global variable