Deprecation of has_cap
-
I had not been using the wp-shortstat plugin regularly. I’ve been getting an error that suggests that the lack of maintenance is catching up with it.
When in wp-admin, here’s the source code for the error message.
— begin paste —
<b>Notice</b>: has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in <b>/home/coevtmfb/public_html/blogs/wp-includes/functions.php</b> on line <b>4020</b><br /> <li><a href='index.php?page=wp-shortstat2/wp-shortstat.php'>ShortStat</a></li></ul></li>
— end paste —
If anyone were to continue to use this plug-in, the advice would be to apply some maintenance.
- The topic ‘Deprecation of has_cap’ is closed to new replies.