Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 33374

has_cap() was called with an argument that is deprecated since version 2.0.0!

$
0
0

Replies: 0

Hello there,

Under development version 5.7.3-alpha-51171, for some reason, when turning WP_DEBUG on, I’m getting the following warning:

PHP Deprecated: has_cap() was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

This comes from /wp-includes/functions.php on line 5145.

While development versions may break things, they’re also useful ‘canaries’ to deal with possible future problems that get uncovered, so I have no idea if this is relevant or not.

There seems to be no significant impact on Wordfence’s functionality (as far as I can see).


Viewing all articles
Browse latest Browse all 33374

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>