Here’s a patch.
Index: pinterest-rss-widget.php
===================================================================
--- pinterest-rss-widget.php
+++ pinterest-rss-widget.php
@@ -153,9 +153,9 @@
add_shortcode('prw', 'prw_shortcode');
class Pinterest_RSS_Widget extends WP_Widget {
- function Pinterest_RSS_Widget() {
+ function __construct() {
$widget_ops = array('classname' => 'pinterest_rss_widget', 'description' => 'A widget to display latest Pinterest Pins via RSS feed' );
- $this->WP_Widget('pinterest_rss_widget', 'Pinterest RSS Widget', $widget_ops);
+ parent::__construct('pinterest_rss_widget', 'Pinterest RSS Widget', $widget_ops);
}
function widget($args, $instance) {