Ticket #6532: 6532.patch
File 6532.patch, 573 bytes (added by , 15 years ago) |
---|
-
wp-includes/widgets.php
644 644 } 645 645 646 646 function wp_widget_text_register() { 647 if ( !$options = get_option('widget_text') )647 if ( !$options = get_option('widget_text') || ! is_array($options) ) 648 648 $options = array(); 649 649 $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML')); 650 650 $control_ops = array('width' => 400, 'height' => 350, 'id_base' => 'text');