Tagline Rotator
DEBUG mode error (3 posts)

  1. deadelvis
    Posted 5 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
    Plugin Author

    Posted 4 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
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tagline Rotator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic