WordPress.WP.DeprecatedFunctions.get_userdatabyloginFound
get userdatabylogin Found
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 | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1 | InfiniteWP Client | 22 | 2,286 | 1,812 | 200k+ | Exception Not Escaped | |
| #2 | PrettyLinks – Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin | 24 | 449 | 1,137 | 300k+ | Recommended | |
| #3 | Audit Trail | 34 | 90 | 107 | 10k+ | Unsafe Printing Function | |
| #4 | User Photo | 35 | 112 | 68 | 3k+ | Output Not Escaped | |
| #5 | Limit Login Attempts | 40 | 81 | 38 | 300k+ | Output Not Escaped | |
| #6 | CSV Importer | 54 | 24 | 11 | 3k+ | file system operations fclose |