WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.9/wp-includes/default-widgets.php

    r12364 r12476  
    733733        wp_widget_rss_output( $rss, $instance );
    734734        echo $after_widget;
    735         $rss->__destruct();
     735
     736        if ( ! is_wp_error($rss) )
     737            $rss->__destruct();
    736738        unset($rss);
    737739    }
Note: See TracChangeset for help on using the changeset viewer.