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) {
coffee4life: are you sure this fixes the error? If so, I will implement in a new version immediately. I don’t have time to test right now but if this is the fix I will get it uploaded. Please let me know – and thank you for your help!
Seems to be working nicely! 🙂 Problem solved!
Thanks @coffee4life
-Scott
PS – @bkmacdaddy, this looks like it matches the changes WordPress announced need made in the 4.3 release blog. I vote to integrate the change.
Just uploaded new version 2.3.1 with the change above. Please let me know if there are any issues. Thanks!