WordPress.org

Ready to get started?Download WordPress

Forums

Tagline Rotator
DEBUG mode error (3 posts)

  1. deadelvis
    Member
    Posted 3 years 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 /wordpress/wp-includes/functions.php on line 3466

  2. vhauri
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the heads-up! Line 45 of the plugin was calling add_options_page with an old numerical argument, instead of 'manage_options':

    add_options_page('Tagline Rotator', 'Tagline Rotator', 8, 'taglineoptions', array('WP_Tagline_Rotator', 'tagline_options_page'));

    changed to

    add_options_page('Tagline Rotator', 'Tagline Rotator', 'manage_options', 'taglineoptions', array('WP_Tagline_Rotator', 'tagline_options_page'));

    Fixed in Version 2.3. http://plugins.trac.wordpress.org/changeset/494812/tagline-rotator/trunk

  3. deadelvis
    Member
    Posted 2 years ago #

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic