WordPress.org

Forums

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

  1. styledev
    Member
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Easy Columns
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic