mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user