Support » Plugin: flickrRSS » [Plugin: flickrRSS] Deprecated Argument

  • 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)

    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'));

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: flickrRSS] Deprecated Argument’ is closed to new replies.