Changeset 37590
- Timestamp:
- 05/29/2016 04:05:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/inc/widgets.php
r37040 r37590 57 57 $args['widget_id'] = null; 58 58 59 if ( isset( $cache[ $args['widget_id'] ] ) ) {59 if ( ! is_customize_preview() && isset( $cache[ $args['widget_id'] ] ) ) { 60 60 echo $cache[ $args['widget_id'] ]; 61 61 return; … … 133 133 134 134 $cache[ $args['widget_id'] ] = ob_get_flush(); 135 wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' ); 135 if ( ! is_customize_preview() ) { 136 wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' ); 137 } 138 136 139 } 137 140
Note: See TracChangeset
for help on using the changeset viewer.