has_cap deprecated since version 2.0.0
-
I’m likely posting into a void since this plugin hasn’t been updated in some time. However, I’d like to resolve a depreciated tag if possible.
I’m debugging my website and the following warning pops up.
F:\inetpub\wwwroot\wp-includes\class-wp-user.php:716 – has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
require_once(‘F:\inetpub\wwwroot\wp-admin\admin-header.php’), require(‘F:\inetpub\wwwroot\wp-admin\menu-header.php’), _deprecated_argumentwp_menu_output, current_user_can, WP_User->has_cap, _deprecated_argumentAny advice is appreciated even if months go by.
https://developer.www.ads-software.com/reference/classes/wp_user/has_cap/
Thanks,
Joe
- The topic ‘has_cap deprecated since version 2.0.0’ is closed to new replies.