WordPress.WP.DeprecatedFunctions.current_user_can_for_blogFound
current user can for blog 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 | BuddyPress | 22 | 583 | 9,008 | 100k+ | Non Prefixed Function Found | |
| #2 | Events Manager – Calendar, Bookings, Tickets, and more! | 22 | 4,722 | 5,621 | 70k+ | Output Not Escaped | |
| #3 | Ocean Extra | 23 | 1,494 | 2,106 | 500k+ | Non Prefixed Variable Found | |
| #4 | Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress | 23 | 2,317 | 1,714 | 5k+ | Output Not Escaped | |
| #5 | Import and export users and customers | 24 | 1,046 | 356 | 70k+ | Unsafe Printing Function | |
| #6 | UpdraftPlus: WP Backup & Migration Plugin | 24 | 277 | 299 | 3m+ | Non Prefixed Variable Found |