WordPress.org

Ready to get started?Download WordPress

Forums

WP-Devel
please remove a warning in your code (1 post)

  1. Daniele Raimondi
    Member
    Posted 2 years ago #

    First of all that is a great debug tool! Thanks. Furthermore, it make use of an old friend of mine: krumo! I was really happy when, enabling the plugin, I saw "Cannot redeclare krumo class". Oh yeah.

    But please, correct a deprecated parameter in your code, on line 68:

    add_options_page('WP-Devel Options', 'WP-Devel', 8, __FILE__, 'wds_dts_options');

    the use of user level instead of the role name is deprecated, so I've changed line 68 to

    add_options_page('WP-Devel Options', 'WP-Devel', 'administrator', __FILE__, 'wds_dts_options');

    Please include this fix in your future release of wp-devel.

    Thanks, Daniele.

    http://wordpress.org/extend/plugins/wp-devel/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Daniele Raimondi
  • This topic is not resolved
  • WordPress version: 3.2.1

Tags