WordPress.org

Make WordPress Core

Ticket #11518: 11518.2.patch

File 11518.2.patch, 534 bytes (added by hakre, 8 years ago)

paranoid variant

  • wp-includes/default-widgets.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    732732                        echo $before_title . $title . $after_title;
    733733                wp_widget_rss_output( $rss, $instance );
    734734                echo $after_widget;
    735                 $rss->__destruct();
    736                 unset($rss);
     735                $rss = null; // paranoid unset
    737736        }
    738737
    739738        function update($new_instance, $old_instance) {