Plug-in using levels instead of capabilities.
-
In the admin using debug mode:
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /www/smenet.cloudapp.net/wp-includes/functions.php on line 2923 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /www/smenet.cloudapp.net/wp-includes/functions.php on line 2923
Caused by line 86 of start.php, using level 8. Should be changed to something like:
add_menu_page('Status-Manager', 'Status-Manager', 'edit_users',__FILE__, 'manage_user_user_control');
https://www.ads-software.com/extend/plugins/user-status-manager/
- The topic ‘Plug-in using levels instead of capabilities.’ is closed to new replies.