• Just going through my site and cleaning a few things up and noticed this, when running the “Log Deprecated Notices” plugin.

    Argument in current_user_can()
    Used in wp-content/plugins/admin-menu-editor/includes/menu-editor-core.php on line 1726.

    Just wondering if this is something to be concerned with.

    http://wordpress.org/plugins/admin-menu-editor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Is that the entire message? It doesn’t seem to make much sense as-is since it doesn’t say what’s wrong with the argument.

    I would guess that it probably has something to do with user levels. If so, it’s nothing to worry about. The plugin itself doesn’t rely on user levels, but it may need to check them occasionally if the admin menu or another plugin uses them.

    Thread Starter greencode

    (@greencode)

    Hi. Thanks for getting back so quickly. This what the full message says…

    Argument in current_user_can()
    Used in wp-content/plugins/admin-menu-editor/includes/menu-editor-core.php on line 1726.

    Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    Deprecated in version 2.0.

    Plugin Author Janis Elsts

    (@whiteshadow)

    I see, so it really was about user levels. In that case, it’s nothing to be concerned with.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Argument in current_user_can()’ is closed to new replies.