Ticket #36429: 36429.patch
File 36429.patch, 702 bytes (added by , 9 years ago) |
---|
-
widgets.php
56 56 if ( ! isset( $args['widget_id'] ) ) 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; 62 62 } … … 132 132 endif; 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 } 136 138 } 137 139 138 140 /**