mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Themes: Fix HTML markup for screenshots. props kovshenin. fixes #25959.
git-svn-id: https://develop.svn.wordpress.org/trunk@26504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
720930f356
commit
c52896dbae
@ -210,12 +210,12 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
|
||||
<script id="tmpl-theme" type="text/template">
|
||||
<# if ( data.screenshot[0] ) { #>
|
||||
<div class="theme-screenshot">
|
||||
<img src="{{ data.screenshot[0] }}" alt="" />
|
||||
<div class="theme-screenshot">
|
||||
<img src="{{ data.screenshot[0] }}" alt="" />
|
||||
</div>
|
||||
<# } else { #>
|
||||
<div class="theme-screenshot blank"></div>
|
||||
<# } #>
|
||||
</div>
|
||||
<div class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></div>
|
||||
<h3 class="theme-name">{{ data.name }}</h3>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user