WordPress.org

Forums

WordPress Firewall 2
Using deprecated argument! (1 post)

  1. AlanP57
    Member
    Posted 2 years ago #

    has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    wordpress-firewall-2.php: line 446

    change

    add_submenu_page('options-general.php', 'Firewall', 'Firewall', 10, __FILE__, 'WP_firewall_submenu');'
    
    to
    add_submenu_page('options-general.php', 'Firewall', 'Firewall', 'activate_plugins', __FILE__, 'WP_firewall_submenu');'

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

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

Tags

No tags yet.