WordPress.org

Ready to get started?Download WordPress

Forums

Really Simple Twitter Feed Widget
[resolved] Error catching error in 1.3.2 (3 posts)

  1. NikoRoberts
    Member
    Posted 2 years ago #

    Line 50 has a bug in 1.3.2

    $json = wp_remote_get('http://api.twitter.com/1/statuses/user_timeline.json?screen_name='.$options['username'].'&count='.$max_items_to_retrieve);
     		if( is_wp_error( $response ) ) {

    $response should be $json like so:

    $json = wp_remote_get('http://api.twitter.com/1/statuses/user_timeline.json?screen_name='.$options['username'].'&count='.$max_items_to_retrieve);
     		if( is_wp_error( $json ) ) {

    http://wordpress.org/extend/plugins/really-simple-twitter-feed-widget/

  2. whiletrue
    Member
    Plugin Author

    Posted 2 years ago #

    Hi NikoRoberts,
    you're right. The bug is now fixed in the 1.3.3 release.
    Thank you very much for noticing and showing it!

  3. NikoRoberts
    Member
    Posted 2 years ago #

    No probs :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic