Ticket #24577: default-widgets.php.patch
File default-widgets.php.patch, 573 bytes (added by , 11 years ago) |
---|
-
/wp-includes/
old new 596 596 $instance = $old_instance; 597 597 $instance['title'] = strip_tags($new_instance['title']); 598 598 $instance['number'] = (int) $new_instance['number']; 599 $instance['show_date'] = (bool) $new_instance['show_date'];599 $instance['show_date'] = isset( $new_instance['show_date'] ) ? (bool) $new_instance['show_date'] : false; 600 600 $this->flush_widget_cache(); 601 601 602 602 $alloptions = wp_cache_get( 'alloptions', 'options' );