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

  1. Leorood
    Posted 3 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Firewall 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic