Ticket #14543: 14543.patch
File 14543.patch, 588 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 $instance['number'] = ( $instance['number'] < 1 ) ? 5 : ( ( $instance['number'] > 15 ) ? 5 : $instance['number'] ); 570 571 $this->flush_widget_cache(); 571 572 572 573 $alloptions = wp_cache_get( 'alloptions', 'options' );