Ticket #14543: 14543.2.patch
File 14543.2.patch, 559 bytes (added by , 14 years ago) |
---|
-
wp-includes/default-widgets.php
567 567 $instance = $old_instance; 568 568 $instance['title'] = strip_tags($new_instance['title']); 569 569 $instance['number'] = (int) $new_instance['number']; 570 if( $instance['number'] < 1 || $instance['number'] > 15 ) 571 $instance['number'] = 5; 570 572 $this->flush_widget_cache(); 571 573 572 574 $alloptions = wp_cache_get( 'alloptions', 'options' );