Make WordPress Core

Ticket #5439: widgets.php[1].diff

File widgets.php[1].diff, 310 bytes (added by dcostalis, 17 years ago)

updated proposed fix

  • .php

    1164a1165
    >         unset($id);
    old new  
    11621162        $GLOBALS['wp_register_widget_defaults'] = false;
    11631163
    11641164        do_action('widgets_init');
     1165        unset($id);
    11651166}
    11661167
    11671168add_action('init', 'wp_widgets_init', 1);