WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Firewall 2
wp-firewall2 has_cap - how to fix this? (1 post)

  1. Leorood
    Member
    Posted 2 years ago #

    when I debug, the message appears has_cap.
    when I activate the plugin wp-firewall-2
    This should be associated with this http://codex.wordpress.org/Plugin_API/Filter_Reference/user_has_cap

    "Passing in a numeric WP_User to has_cap on objects has been deprecated. Passing a numeric deprecated option will generate a warning if debugging mode is enabled via wp_config.php"

    "Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead."

    How to fix this?

    http://wordpress.org/extend/plugins/wordpress-firewall-2/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic