diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index f671d54e22..1e184033d6 100644
|
a
|
b
|
foreach ( $themes as $theme ) : |
| 373 | 373 | <div class="theme<?php echo $active_class; ?>"> |
| 374 | 374 | <?php if ( ! empty( $theme['screenshot'][0] ) ) { ?> |
| 375 | 375 | <div class="theme-screenshot"> |
| 376 | | <img src="<?php echo $theme['screenshot'][0]; ?>" alt="" /> |
| | 376 | <img src="<?php echo $theme['screenshot'][0] . '?ver=' . $theme['version']; ?>" alt="" /> |
| 377 | 377 | </div> |
| 378 | 378 | <?php } else { ?> |
| 379 | 379 | <div class="theme-screenshot blank"></div> |
| … |
… |
function wp_theme_auto_update_setting_template() { |
| 724 | 724 | <script id="tmpl-theme" type="text/template"> |
| 725 | 725 | <# if ( data.screenshot[0] ) { #> |
| 726 | 726 | <div class="theme-screenshot"> |
| 727 | | <img src="{{ data.screenshot[0] }}" alt="" /> |
| | 727 | <img src="{{ data.screenshot[0] }}?ver={{ data.version }}" alt="" /> |
| 728 | 728 | </div> |
| 729 | 729 | <# } else { #> |
| 730 | 730 | <div class="theme-screenshot blank"></div> |
diff --git a/wp-includes/customize/class-wp-customize-theme-control.php b/wp-includes/customize/class-wp-customize-theme-control.php
index a0a705d545..baca767286 100644
|
a
|
b
|
class WP_Customize_Theme_Control extends WP_Customize_Control { |
| 74 | 74 | |
| 75 | 75 | <# if ( data.theme.screenshot && data.theme.screenshot[0] ) { #> |
| 76 | 76 | <div class="theme-screenshot"> |
| 77 | | <img data-src="{{ data.theme.screenshot[0] }}" alt="" /> |
| | 77 | <img data-src="{{ data.theme.screenshot[0] }}?ver={{ data.theme.version }}" alt="" /> |
| 78 | 78 | </div> |
| 79 | 79 | <# } else { #> |
| 80 | 80 | <div class="theme-screenshot blank"></div> |