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:
Dion Hulse 2013-12-02 08:37:58 +00:00
parent 4a62bbe5d8
commit dd5f228729

View File

@ -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>