WordPress.org

Support

Support » Plugins and Hacks » Email Log » [Resolved] [Plugin: Email Log] Deprecated notice

[Resolved] [Plugin: Email Log] Deprecated notice

  • Hi sudar,

    getting a deprecated notice which I think is due to

    add_options_page( __(‘Email Log’, ’email-log’), __(‘Email Log’, ’email-log’), 8, ’email-log’, array(&$this, ‘settings_page’) );

    which should use capabilities rather:
    add_options_page(‘My Plugin Options’, ‘My Plugin’, ‘manage_options’, ‘my-unique-identifier’, ‘my_plugin_options’);

    http://wordpress.org/extend/plugins/email-log/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Email Log] Deprecated notice’ is closed to new replies.
Skip to toolbar