WordPress.org

Ready to get started?Download WordPress

Forums

User Activation Keys
Plugin using depreciated capabilitiy (2 posts)

  1. Tom Lynch
    Member
    Posted 3 years ago #

    Hello,

    Just to let you know on line 26 you are using the older level based system which was depreciated in version 2.0 of wordpress, it would be worth while switching over to the roles & capabilities system, a simple fix would be this:

    Error:

    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 /wp-includes/functions.php on line 3321

    Perhaps you would push out a point release for everyone...

    Line 26
    add_submenu_page('ms-admin.php', 'User Activation Keys', 'User Activation Keys', 'edit_users', 'act_keys', 'ds_delete_stale');

    http://wordpress.org/extend/plugins/user-activation-keys/

  2. David Sader
    Member
    Plugin Author

    Posted 3 years ago #

    Updated plugin, thanks for the notice, Tom.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic