WordPress.WP.DeprecatedFunctions.get_userdatabyloginFound
Deprecated function: get_userdatabylogin
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 | InfiniteWP Client | 23 | 2,287 | 1,811 | 200k+ | Exception output is not escaped | ||
| #2 | WPDoctor Malware Scanner & Vulnerability Checker & IP blocker with Hack monitor Lite | 31 | 133 | 438 | 600 | Non-prefixed global variable | ||
| #3 | PilotPress | 32 | 150 | 285 | 900 | Output is not escaped | ||
| #4 | Audit Trail | 34 | 90 | 107 | 10k+ | Unsafe printing function | ||
| #5 | User Photo | 35 | 112 | 68 | 3k+ | Output is not escaped | ||
| #6 | Limit Login Attempts | 40 | 81 | 38 | 300k+ | Output is not escaped | ||
| #7 | CSV Importer | 54 | 24 | 11 | 3k+ | Missing direct file access protection |