mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Themes: Add version to theme screenshot URL in WP_Themes_List_Table.
Follow-up to [52947]. See #53370. git-svn-id: https://develop.svn.wordpress.org/trunk@52948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -247,12 +247,12 @@ class WP_Themes_List_Table extends WP_List_Table {
|
||||
|
||||
<span class="screenshot hide-if-customize">
|
||||
<?php if ( $screenshot ) : ?>
|
||||
<img src="<?php echo esc_url( $screenshot ); ?>" alt="" />
|
||||
<img src="<?php echo esc_url( $screenshot . '?ver=' . $theme->version ); ?>" alt="" />
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
<a href="<?php echo wp_customize_url( $stylesheet ); ?>" class="screenshot load-customize hide-if-no-customize">
|
||||
<?php if ( $screenshot ) : ?>
|
||||
<img src="<?php echo esc_url( $screenshot ); ?>" alt="" />
|
||||
<img src="<?php echo esc_url( $screenshot . '?ver=' . $theme->version ); ?>" alt="" />
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user