diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 3f59f2ab03..45776cc967 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -378,7 +378,7 @@ $can_delete = current_user_can( 'delete_themes' ); <# if ( data.active ) { #> <# } #> -

{{{ data.name }}}

+

{{{ data.name }}}

<# if ( data.hasUpdate ) { #> diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index 523c7339c4..b0115aef60 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -636,6 +636,9 @@ final class WP_Theme implements ArrayAccess { case 'Tags' : $value = array_filter( array_map( 'trim', explode( ',', strip_tags( $value ) ) ) ); break; + case 'Version' : + $value = strip_tags( $value ); + break; } return $value;