• Resolved jpresley23

    (@jpresley23)


    There is an error

    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.

    Changing

    function twitter_stream_add_options() {
    	add_options_page('Twitter Stream Authorize Page', 'Twitter Stream', 8, 'twitterstreamauth', 'twitter_stream_options_page');
    }

    to

    function twitter_stream_add_options() {
    	add_options_page('Twitter Stream Authorize Page', 'Twitter Stream', 'active_plugins', 'twitterstreamauth', 'twitter_stream_options_page');
    }

    on line 66-68 of the twitter-stream.php will fix it.

    https://wordpress.org/plugins/twitter-stream/

Viewing 1 replies (of 1 total)
  • Plugin Author veneficusunus

    (@veneficusunus)

    Hi,

    Thanks for letting me know. I have my notices turned off on my development server (I should turn them on really, lol) so didn’t see it.

    Will get that fixed and push it to SVN.

    I really wish WP would send out an email when you get a support request on your plugin. 🙁

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated argument notice’ is closed to new replies.