WordPress.org

Ready to get started?Download WordPress

Forums

User Status Manager
[resolved] Plug-in using levels instead of capabilities. (2 posts)

  1. fancyfiber
    Member
    Posted 1 year ago #

    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');

    http://wordpress.org/extend/plugins/user-status-manager/

  2. Rahul Balakrishna
    Member
    Plugin Author

    Posted 1 year ago #

    Hello fancyfiber,

    Thank you for your concern, but FYI every plugin is reviewed and the approved and if there is any mistake then we get a reply from them as i got for my first plugin.

    And again I would thank you for showing interest in the plug-in and for appreciate for the concern raised. Will test the above code then will add it to my next version.

    Regards,
    Rahul

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.