Depracated argument in ‘has_cap’
-
With debugging on I get the following notice on the dashboard.
Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Not sure what the right fix for this would be… maybe exchanging those
has_cap
checks withcurrent_user_can
…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Depracated argument in ‘has_cap’’ is closed to new replies.