mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 13:23:40 +01:00
Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4a62bbe5d8
commit
dd5f228729
@ -238,7 +238,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
</div>
|
||||
|
||||
<# if ( data.hasUpdate ) { #>
|
||||
<a class="theme-update"><?php _e( 'Update Available' ); ?></a>
|
||||
<div class="theme-update"><?php _e( 'Update Available' ); ?></div>
|
||||
<# } #>
|
||||
</script>
|
||||
|
||||
@ -273,8 +273,8 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
|
||||
<# if ( data.hasUpdate ) { #>
|
||||
<div class="theme-update-message">
|
||||
<a class="theme-update"><?php _e( 'Update Available' ); ?></a>
|
||||
<p>{{{ data.update }}}</p>
|
||||
<h4 class="theme-update"><?php _e( 'Update Available' ); ?></h4>
|
||||
{{{ data.update }}}
|
||||
</div>
|
||||
<# } #>
|
||||
<p class="theme-description">{{{ data.description }}}</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user