WordPress.org

Ready to get started?Download WordPress

Forums

flickrRSS
Deprecated Argument (3 posts)

  1. Donald Gilbert
    Member
    Posted 2 years ago #

    Please update the add_options_page() function in this plugin, as it currently uses user levels instead of roles and capabilities when registering the admin page on line 226 of flickrrss.php. Your plugin is generating a deprecated function error. (not a big deal for most)

    Currently:
    add_options_page('flickrRSS Settings', 'flickrRSS', 8, basename(__FILE__), array(&$this, 'printSettingsPage'));

    Should be:
    add_options_page('flickrRSS Settings', 'flickrRSS', 'manage_options', basename(__FILE__), array(&$this, 'printSettingsPage'));

    http://wordpress.org/extend/plugins/flickr-rss/

  2. Dave Kellam (eightface)
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry about that, it had been years since the last update and I guess my sandbox install didn't have the debug flag on. I'll try to get that fixed up in the near future.

  3. Donald Gilbert
    Member
    Posted 2 years ago #

    Not a problem - thanks for a great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags