WordPress.WP.DiscouragedConstants.MUPLUGINDIRUsageFound
MUPLUGINDIRUsage Found
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 | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1 | SecuPress with Simple SSL – Simple and Performant Security | 23 | 1,696 | 1,590 | 40k+ | Non Prefixed Variable Found | |
| #2 | WPeMatico RSS Feed Fetcher | 24 | 1,376 | 582 | 10k+ | Output Not Escaped | |
| #3 | Unfiltered MU | 96 | 5 | 2 | 2k+ | MUPLUGINDIRUsage Found |