mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 03:49:54 +01: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:
parent
0fb4f90030
commit
7222112803
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user