[wp-trac] [WordPress Trac] #36556: has_cap was called with an argument
WordPress Trac
noreply at wordpress.org
Sun Apr 17 04:14:47 UTC 2016
#36556: has_cap was called with an argument
--------------------------+-----------------------------
Reporter: Asif2BD | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36556>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list