Changeset 52947 for trunk/src/wp-admin/themes.php
- Timestamp:
- 03/17/2022 10:19:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r52580 r52947 389 389 <?php if ( ! empty( $theme['screenshot'][0] ) ) { ?> 390 390 <div class="theme-screenshot"> 391 <img src="<?php echo esc_attr( $theme['screenshot'][0] ); ?>" alt="" />391 <img src="<?php echo esc_attr( $theme['screenshot'][0] . '?ver=' . $theme['version'] ); ?>" alt="" /> 392 392 </div> 393 393 <?php } else { ?> … … 740 740 <# if ( data.screenshot[0] ) { #> 741 741 <div class="theme-screenshot"> 742 <img src="{{ data.screenshot[0] }} " alt="" />742 <img src="{{ data.screenshot[0] }}?ver={{ data.version }}" alt="" /> 743 743 </div> 744 744 <# } else { #> … … 948 948 <div class="theme-screenshots"> 949 949 <# if ( data.screenshot[0] ) { #> 950 <div class="screenshot"><img src="{{ data.screenshot[0] }} " alt="" /></div>950 <div class="screenshot"><img src="{{ data.screenshot[0] }}?ver={{ data.version }}" alt="" /></div> 951 951 <# } else { #> 952 952 <div class="screenshot blank"></div>
Note: See TracChangeset
for help on using the changeset viewer.