WordPress.org

Make WordPress Core

Ticket #10251: default-widgets.diff

File default-widgets.diff, 383 bytes (added by brianwhite, 9 years ago)

Patch for\default-widgets.php

  • wordpress/wp-includes/default-widgets.php

    old new  
    527527                        $cache = array();
    528528
    529529                if ( isset($cache[$args['widget_id']]) )
    530                         return $cache[$args['widget_id']];
     530                        echo $cache[$args['widget_id']];
    531531
    532532                ob_start();
    533533                extract($args);