WordPress.WP.DeprecatedFunctions.add_option_whitelistFound
Deprecated function: add_option_whitelist
The plugin uses a WordPress API, parameter, class, or value that has been deprecated.
Why It Shows Up
Plugin Check found a deprecated WordPress function, parameter position, class, or parameter value.
Why It Matters
Deprecated APIs may keep working for now, but they can behave differently across WordPress versions and make maintenance harder.
How to Fix
- Look up the replacement API in the WordPress developer reference.
- Update the call signature and test on the plugin's supported WordPress versions.
- Keep compatibility wrappers only when the plugin intentionally supports older WordPress versions.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #1 | SecuPress with Simple SSL – Simple and Performant Security | 23 | 1,696 | 1,590 | 40k+ | Non-prefixed global variable | ||
| #2 | Document Library Lite | 34 | 149 | 85 | 4k+ | Text Domain Mismatch | ||
| #3 | Classic Editor Plus – WordPress Classic Editor plugin by Felix | 38 | 83 | 42 | 500 | Text Domain Mismatch | ||
| #4 | Allow Multiple Accounts | 40 | 115 | 19 | 9k+ | Non Singular String Literal Domain | ||
| #5 | Text Hover | 41 | 44 | 13 | 2k+ | Output is not escaped | ||
| #6 | Text Replace | 41 | 55 | 12 | 3k+ | Output is not escaped | ||
| #7 | Blog Time | 57 | 38 | 6 | 600 | Output is not escaped | ||
| #8 | Classic Editor | 63 | 17 | 7 | 9m+ | Unsafe printing function |