WordPress.org

Ready to get started?Download WordPress

Forums

WP Easy Columns
[resolved] Fix add_options_page Deprecated PHP Notice (2 posts)

  1. styledev
    Member
    Posted 8 months ago #

    Notice: 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. in /Users/dbushaw/Sites/trainelite/wp-includes/functions.php on line 3017

    Change Line 443 from:

    add_options_page('Easy Columns Options', 'Easy Columns', 8, basename(__FILE__), array(&$this, 'handle_options'));

    To:

    add_options_page('Easy Columns Options', 'Easy Columns', 'manage_options', basename(__FILE__), array(&$this, 'handle_options'));

    http://wordpress.org/plugins/easy-columns/

  2. Pat Friedl
    Member
    Plugin Author

    Posted 8 months ago #

    Yup, this is on the list for the next update!

Reply

You must log in to post.

About this Plugin

About this Topic