- Timestamp:
- 11/18/2013 11:11:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r26225 r26260 232 232 $instance['title'] = strip_tags( $new_instance['title'] ); 233 233 $instance['number'] = empty( $new_instance['number'] ) ? 2 : absint( $new_instance['number'] ); 234 if ( in_array( $new_instance['format'], $this->formats ) ) 234 if ( in_array( $new_instance['format'], $this->formats ) ) { 235 235 $instance['format'] = $new_instance['format']; 236 } 236 237 237 238 $this->flush_widget_cache();
Note: See TracChangeset
for help on using the changeset viewer.