diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index d7ebd5c646c42..4c814dd42b6d1 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -583,7 +583,9 @@ /* translators: %s: Theme name. */ $details_aria_label = sprintf( _x( 'View Theme Details for %s', 'theme' ), $theme['name'] ); ?> - +
- + - + + - + - - - + + + + @@ -954,7 +975,9 @@ function wp_theme_auto_update_setting_template() { /* translators: %s: Theme name. */ $details_aria_label = sprintf( _x( 'View Theme Details for %s', 'theme' ), '{{ data.name }}' ); ?> - +
- + <# } #> <# } else { #> <# if ( data.compatibleWP && data.compatiblePHP ) { #> @@ -986,20 +1012,36 @@ function wp_theme_auto_update_setting_template() { /* translators: %s: Theme name. */ $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' ); ?> - + + - + <# } else { #> - + + <# if ( ! data.blockTheme ) { #> - + + <# } #> <# } #> <# } #> @@ -1211,31 +1253,54 @@ function wp_theme_auto_update_setting_template() {
- +
+
<# if ( data.compatibleWP && data.compatiblePHP ) { #> - <# if ( ! data.blockTheme ) { #> - + + <# } #> + <# if ( data.actions.activate ) { #> - + + <# } #> <# } else { #> - <# if ( ! data.blockTheme ) { #> - + + <# } #> + <# if ( data.actions.activate ) { #> - + + <# } #> <# } #>
@@ -1245,7 +1310,10 @@ function wp_theme_auto_update_setting_template() { /* translators: %s: Theme name. */ $aria_label = sprintf( _x( 'Delete %s', 'theme' ), '{{ data.name }}' ); ?> - + <# } #>