Opened 8 years ago
Last modified 5 years ago
#36556 new defect (bug)
has_cap was called with an argument
Reported by: | Asif2BD | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4.2 |
Component: | Users | Keywords: | |
Focuses: | Cc: |
Description
I am seeing this error message in one of the site
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 3737
I understand it's probably because of one of the plugin or theme probably called a numeric user level instead of a capability name. But maybe we could create a backfill kind of approach here.
Note: See
TracTickets for help on using
tickets.