WordPress.WP.DiscouragedFunctions.wp_reset_query_wp_reset_query
Discouraged PHP function
The plugin uses a PHP or WordPress pattern that coding standards discourage.
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.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #151 | Redirector | 40 | 48 | 32 | 7k+ | Output is not escaped | ||
| #152 | Responsive Slider | 40 | 28 | 15 | 3k+ | Output is not escaped | ||
| #153 | TW Recent Posts Widget | 40 | 97 | 14 | 1k+ | Output is not escaped | ||
| #154 | WP Tab Widget | 40 | 128 | 32 | 10k+ | Output is not escaped | ||
| #155 | Easy Social Like Box – Popup – Sidebar Widget | 41 | 218 | 91 | 7k+ | Text Domain Mismatch | ||
| #156 | Custom Recent Posts Widget | 41 | 63 | 4 | 1k+ | Output is not escaped | ||
| #157 | Genesis Featured Page Advanced | 41 | 209 | 4 | 7k+ | Output is not escaped | ||
| #158 | Responsive Plus – Elementor Templates & Starter Sites | 41 | 46 | 307 | 10k+ | Non-prefixed global variable | ||
| #159 | Booking.com Official Search Box | 42 | 36 | 32 | 2k+ | Output is not escaped | ||
| #160 | Disable Recaptcha – CF7 | 42 | 73 | 5 | 2k+ | Output is not escaped | ||
| #161 | Post title marquee scroll | 43 | 43 | 25 | 1k+ | Output is not escaped | ||
| #162 | Team Builder Member Showcase | 43 | 14 | 127 | 1k+ | Non-prefixed global variable | ||
| #163 | ELEX WooCommerce Role Based Pricing | 44 | 213 | 196 | 2k+ | Non-prefixed global variable | ||
| #164 | Post Grid | 44 | 33 | 208 | 30k+ | Non-prefixed global variable | ||
| #165 | HT Slider For Elementor | 50 | 884 | 40 | 20k+ | Text Domain Mismatch | ||
| #166 | Ultimate Floating Widgets – Make popup sidebars | 50 | 48 | 14 | 3k+ | Output is not escaped | ||
| #167 | Quick and Easy Testimonials | 54 | 63 | 32 | 3k+ | Non Singular String Literal Domain | ||
| #168 | Advanced Floating Content Lite | 56 | 88 | 49 | 7k+ | Text Domain Mismatch | ||
| #169 | Kwayy HTML Sitemap | 56 | 13 | 19 | 6k+ | Missing nonce verification | ||
| #170 | Random Post for Widget | 58 | 27 | 5 | 2k+ | Output is not escaped | ||
| #171 | UiCore Elements – Free widgets and templates for Elementor | 58 | 29 | 30 | 40k+ | Output is not escaped | ||
| #172 | Latest Posts | 63 | 27 | 1 | 5k+ | Output is not escaped | ||
| #173 | WP SEO HTML Sitemap | 65 | 22 | 15 | 6k+ | Output is not escaped | ||
| #174 | Post Carousel for DV Builder | 74 | 152 | 9 | 2k+ | Text Domain Mismatch | ||
| #175 | Klaviyo | 79 | 26 | 86 | 100k+ | Non-prefixed function | ||
| #176 | ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution | 80 | 424 | 735 | 3k+ | Non-prefixed global variable | ||
| #177 | Related Posts Flatsome | 88 | 24 | 4 | 10k+ | Text Domain Mismatch | ||
| #178 | PixCodes | 94 | 216 | 8k+ | Non-prefixed global variable | |||
| #179 | WPGraphQL Yoast SEO Addon | 95 | 42 | 13 | 10k+ | Text Domain Mismatch | ||
| #180 | Video User Manuals | 96 | 15 | 3 | 10k+ | Missing Arg Domain | ||
| #181 | FlexiType Lite | 97 | 2 | 14 | 1k+ | Non-prefixed global variable | ||
| #182 | WP Sitemap Pages and Posts | 97 | 2 | 7 | 1k+ | trademarked term | ||
| #183 | WebMan Amplifier | 98 | 13 | 2k+ | Non-prefixed class |