has_cap was called with an argument that is deprecated since version 2.0!
-
inc/menu.php uses the old numeric user levels instead of the appropriate capability string and subsequently prints a Deprecated error message.
Replace the instances of 10 with ‘manage_options’ to fix the issue.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘has_cap was called with an argument that is deprecated since version 2.0!’ is closed to new replies.