diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
index 87b1b6db7a..9ee06bfaf5 100644
a
|
b
|
foreach ( $themes as $theme ) : |
374 | 374 | <div class="theme<?php echo $active_class; ?>"> |
375 | 375 | <?php if ( ! empty( $theme['screenshot'][0] ) ) { ?> |
376 | 376 | <div class="theme-screenshot"> |
377 | | <img src="<?php echo $theme['screenshot'][0]; ?>" alt="" /> |
| 377 | <img src="<?php echo $theme['screenshot'][0] . '?ver=' . $theme['version']; ?>" alt="" /> |
378 | 378 | </div> |
379 | 379 | <?php } else { ?> |
380 | 380 | <div class="theme-screenshot blank"></div> |
… |
… |
function wp_theme_auto_update_setting_template() { |
725 | 725 | <script id="tmpl-theme" type="text/template"> |
726 | 726 | <# if ( data.screenshot[0] ) { #> |
727 | 727 | <div class="theme-screenshot"> |
728 | | <img src="{{ data.screenshot[0] }}" alt="" /> |
| 728 | <img src="{{ data.screenshot[0] }}?ver={{ data.version }}" alt="" /> |
729 | 729 | </div> |
730 | 730 | <# } else { #> |
731 | 731 | <div class="theme-screenshot blank"></div> |
diff --git a/src/wp-includes/customize/class-wp-customize-theme-control.php b/src/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> |