Opened 10 years ago
Last modified 7 years ago
#36556 new defect (bug)
has_cap was called with an argument
| Reported by: | Asif2BD | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 4.4.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)