WordPress.org

Support

Support » Plugins and Hacks » WordPress Firewall 2 » [Plugin: WordPress Firewall 2] Using deprecated argument!

[Plugin: WordPress Firewall 2] Using deprecated argument!

  • 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/

  • The topic ‘[Plugin: WordPress Firewall 2] Using deprecated argument!’ is closed to new replies.
Skip to toolbar