Changeset 52947
- Timestamp:
- 03/17/2022 10:19:58 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r52204 r52947 360 360 ?> 361 361 <a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>"> 362 <img src="<?php echo esc_url( $theme->screenshot_url ); ?>" width="150" alt="" />362 <img src="<?php echo esc_url( $theme->screenshot_url . '?ver=' . $theme->version ); ?>" width="150" alt="" /> 363 363 </a> 364 364 … … 503 503 </span> 504 504 <?php if ( isset( $theme->screenshot_url ) ) : ?> 505 <img class="theme-screenshot" src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt="" />505 <img class="theme-screenshot" src="<?php echo esc_url( $theme->screenshot_url . '?ver=' . $theme->version ); ?>" alt="" /> 506 506 <?php endif; ?> 507 507 <div class="theme-details"> -
trunk/src/wp-admin/includes/theme.php
r52610 r52947 824 824 <div class="theme-screenshots"> 825 825 <# if ( data.screenshot && data.screenshot[0] ) { #> 826 <div class="screenshot"><img src="{{ data.screenshot[0] }} " alt="" /></div>826 <div class="screenshot"><img src="{{ data.screenshot[0] }}?ver={{ data.version }}" alt="" /></div> 827 827 <# } else { #> 828 828 <div class="screenshot blank"></div> -
trunk/src/wp-admin/theme-install.php
r52819 r52947 283 283 <# if ( data.screenshot_url ) { #> 284 284 <div class="theme-screenshot"> 285 <img src="{{ data.screenshot_url }} " alt="" />285 <img src="{{ data.screenshot_url }}?ver={{ data.version }}" alt="" /> 286 286 </div> 287 287 <# } else { #> … … 457 457 </span> 458 458 459 <img class="theme-screenshot" src="{{ data.screenshot_url }} " alt="" />459 <img class="theme-screenshot" src="{{ data.screenshot_url }}?ver={{ data.version }}" alt="" /> 460 460 461 461 <div class="theme-details"> -
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> -
trunk/src/wp-admin/update-core.php
r52644 r52947 756 756 </td> 757 757 <td class="plugin-title"><p> 758 <img src="<?php echo esc_url( $theme->get_screenshot() ); ?>" width="85" height="64" class="updates-table-screenshot" alt="" />758 <img src="<?php echo esc_url( $theme->get_screenshot() . '?ver=' . $theme->version ); ?>" width="85" height="64" class="updates-table-screenshot" alt="" /> 759 759 <strong><?php echo $theme->display( 'Name' ); ?></strong> 760 760 <?php -
trunk/src/wp-includes/customize/class-wp-customize-theme-control.php
r52371 r52947 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 { #>
Note: See TracChangeset
for help on using the changeset viewer.