', '' );
}
} elseif ( ! $theme['updateResponse']['compatibleWP'] ) {
- _e( 'There is a new version available, but it doesn’t work with your version of WordPress.' );
+ printf(
+ /* translators: %s: Theme name. */
+ __( 'There is a new version of %s available, but it doesn’t work with your version of WordPress.' ),
+ $theme['name']
+ );
if ( current_user_can( 'update_core' ) ) {
printf(
/* translators: %s: URL to WordPress Updates screen. */
@@ -434,7 +442,11 @@ foreach ( $themes as $theme ) :
);
}
} elseif ( ! $theme['updateResponse']['compatiblePHP'] ) {
- _e( 'There is a new version available, but it doesn’t work with your version of PHP.' );
+ printf(
+ /* translators: %s: Theme name. */
+ __( 'There is a new version of %s available, but it doesn’t work with your version of PHP.' ),
+ $theme['name']
+ );
if ( current_user_can( 'update_php' ) ) {
printf(
/* translators: %s: URL to Update PHP page. */
@@ -719,10 +731,14 @@ function wp_theme_auto_update_setting_template() {
<# } #>