diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 09473c1a50..5c5afee52a 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -827,8 +827,13 @@ function customize_themes_print_templates() { <# } #> <# } else { #> - - + <# if ( data.compatibleWP && data.compatiblePHP ) { #> + + + <# } else { #> + + + <# } #> <# } #> diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 6e890f5da1..b1b1eaf4fc 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -311,12 +311,21 @@ if ( $tab ) { <# } #> <# } #> <# } else { #> - - - + <# if ( data.compatible_wp && data.compatible_php ) { #> + + + + <# } else { #> + + + + <# } #> <# } #> @@ -333,9 +342,17 @@ if ( $tab ) { <# if ( data.installed ) { #> - + <# if ( data.compatible_wp && data.compatible_php ) { #> + + <# } else { #> + + <# } #> <# } else { #> - + <# if ( data.compatible_wp && data.compatible_php ) { #> + + <# } else { #> + + <# } #> <# } #>