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 |
|---|---|---|---|---|---|---|---|---|
| #201 | My Post Order | 37 | 100 | 114 | 400 | Output is not escaped | ||
| #202 | RSS for Yandex Zen | 37 | 240 | 100 | 4k+ | Unsafe printing function | ||
| #203 | Sensei LMS Certificates | 37 | 97 | 362 | 4k+ | Non-prefixed global variable | ||
| #204 | Lightbox slider – Responsive Lightbox Gallery | 37 | 36 | 173 | 3k+ | Non-prefixed global variable | ||
| #205 | Slider Pro | 37 | 78 | 260 | 1k+ | Non-prefixed global variable | ||
| #206 | Swifty Bar, sticky bar by WPGens | 37 | 112 | 81 | 400 | Output is not escaped | ||
| #207 | Custom post type templates for Elementor | 38 | 289 | 33 | 700 | Text Domain Mismatch | ||
| #208 | Elemailer Lite – Elementor email template & campaign builder | 38 | 44 | 50 | 5k+ | Output is not escaped | ||
| #209 | Responsive WordPress Slider – HG Slider | 38 | 67 | 75 | 7k+ | Missing nonce verification | ||
| #210 | WP Team – WordPress Team Member Plugin | 38 | 537 | 36 | 600 | Text Domain Mismatch | ||
| #211 | Kali Forms — Contact Form & Drag-and-Drop Builder | 38 | 3 | 252 | 10k+ | Dynamic hook name | ||
| #212 | Lightning Advanced Unit | 38 | 189 | 27 | 3k+ | Output is not escaped | ||
| #213 | Shapely Companion | 38 | 49 | 39 | 10k+ | Output is not escaped | ||
| #214 | Swiper Js Slider | 38 | 125 | 35 | 400 | Output is not escaped | ||
| #215 | Logo Slider , Logo Carousel , Logo showcase , Client Logo | 38 | 72 | 22 | 1k+ | Output is not escaped | ||
| #216 | Advanced Recent Posts Widget | 39 | 105 | 2 | 1k+ | Output is not escaped | ||
| #217 | Saitama Addon Pack | 39 | 152 | 27 | 1k+ | Output is not escaped | ||
| #218 | Gutenverse News – News Blocks for Blog & Magazine Sites | 39 | 37 | 65 | 800 | Non-prefixed hook name | ||
| #219 | Mizan Demo Importer | 39 | 31 | 91 | 1k+ | Missing nonce verification | ||
| #220 | Modal Dialog | 39 | 64 | 64 | 500 | Output is not escaped | ||
| #221 | Recent Posts with Excerpts | 39 | 138 | 2 | 700 | Output is not escaped | ||
| #222 | Unlimited Background Slider | 39 | 66 | 53 | 600 | Output is not escaped | ||
| #223 | WP Most Popular | 39 | 50 | 35 | 2k+ | Output is not escaped | ||
| #224 | Admin Search | 40 | 31 | 47 | 1k+ | Output is not escaped | ||
| #225 | Animated Live Wall Gallery | 40 | 27 | 72 | 2k+ | Request data is not unslashed | ||
| #226 | Featured Post | 40 | 36 | 18 | 900 | Output is not escaped | ||
| #227 | Osom Author Pro | 40 | 83 | 22 | 1k+ | Output is not escaped | ||
| #228 | Loan Comparison | 40 | 27 | 192 | 400 | Request data is not unslashed | ||
| #229 | Owl Carousel WP | 40 | 62 | 19 | 1k+ | Output is not escaped | ||
| #230 | PE Recent Posts | 40 | 292 | 11 | 2k+ | Output is not escaped | ||
| #231 | Post Tiles | 40 | 46 | 5 | 400 | Output is not escaped | ||
| #232 | Redirector | 40 | 48 | 32 | 7k+ | Output is not escaped | ||
| #233 | Responsive Plus – Elementor Templates & Starter Sites | 40 | 46 | 305 | 10k+ | Non-prefixed global variable | ||
| #234 | Responsive Slider | 40 | 28 | 15 | 3k+ | Output is not escaped | ||
| #235 | ST Demo Importer | 40 | 27 | 75 | 700 | Missing nonce verification | ||
| #236 | TW Recent Posts Widget | 40 | 97 | 14 | 1k+ | Output is not escaped | ||
| #237 | WP Tab Widget | 40 | 128 | 32 | 10k+ | Output is not escaped | ||
| #238 | Easy Social Like Box – Popup – Sidebar Widget | 41 | 218 | 91 | 7k+ | Text Domain Mismatch | ||
| #239 | Custom Recent Posts Widget | 41 | 63 | 4 | 1k+ | Output is not escaped | ||
| #240 | Genesis Featured Page Advanced | 41 | 209 | 4 | 7k+ | Output is not escaped | ||
| #241 | Grid Gallery – for Photo Gallery, Image Gallery & Portfolio | 41 | 9 | 74 | 1k+ | Request data is not unslashed | ||
| #242 | Booking.com Official Search Box | 42 | 36 | 32 | 2k+ | Output is not escaped | ||
| #243 | Disable Recaptcha – CF7 | 42 | 73 | 5 | 2k+ | Output is not escaped | ||
| #244 | Simple HTML Sitemap | 42 | 42 | 20 | 1k+ | Text Domain Mismatch | ||
| #245 | PE Easy Slider | 42 | 190 | 10 | 800 | Output is not escaped | ||
| #246 | Recent Posts Widget Plus | 42 | 68 | 3 | 500 | Output is not escaped | ||
| #247 | Vertical marquee post title | 42 | 109 | 68 | 500 | Output is not escaped | ||
| #248 | List Products By Category Widget for WooCommerce | 42 | 84 | 5 | 1k+ | Output is not escaped | ||
| #249 | Post title marquee scroll | 43 | 43 | 25 | 1k+ | Output is not escaped | ||
| #250 | Team Builder Member Showcase | 43 | 14 | 127 | 1k+ | Non-prefixed global variable |