Error: has_cap called with deprecated argument
-
Hello!
I get the following error when running this plugin on WP 4.3.1.
Its not critical, but quite bad for the error logs.
FYI: The constant WP_DEBUG is set to true.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 /full-path-to-wp/wp-includes/functions.php on line 3570
The bug is in line 671 where you specify capabilities in an old way.
This should be updated according to Roles and Capabilities.Hope to hear from the author soon ??
Creds to you for a simple and clean plugin!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Error: has_cap called with deprecated argument’ is closed to new replies.