Plugin Directory

Changeset 802594


Ignore:
Timestamp:
11/11/2013 05:30:03 PM (12 years ago)
Author:
bkmacdaddy
Message:

added fix for WP_Error

Location:
pinterest-rss-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pinterest-rss-widget/trunk/pinterest-rss-widget.php

    r802579 r802594  
    55Description: Display up to 25 of your latest Pinterest Pins in your sidebar. You are welcome to express your gratitude for this plugin by donating via <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SXTEL7YLUSFFC" target="_blank"><strong>PayPal</strong></a>
    66Author: bkmacdaddy designs
    7 Version: 2.2.3
     7Version: 2.2.4
    88Author URI: http://bkmacdaddy.com/
    99
     
    5959                // Get a SimplePie feed object from the Pinterest feed source
    6060                $rss = fetch_feed($pinsfeed);
     61                if($rss instanceof WP_Error) return '';
    6162                $rss->set_timeout(60);
    6263               
  • pinterest-rss-widget/trunk/readme.txt

    r802579 r802594  
    7070== Changelog ==
    7171
     72= 2.2.4 =
     73* Added fix for "Call to undefined method WP_Error::set_timeout()"
     74
    7275= 2.2.3 =
    7376* Removed extraneous line left in accidentally in 2.2.2
Note: See TracChangeset for help on using the changeset viewer.