diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index c33d1557bec59..c15eff383b22e 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -680,6 +680,13 @@ function list_theme_updates() { $compat = ''; + // Get the upgrade notice for the new theme version. + if ( isset( $theme->update['upgrade_notice'] ) ) { + $upgrade_notice = '
' . strip_tags( $theme->update['upgrade_notice'] ); + } else { + $upgrade_notice = ''; + } + if ( ! $compatible_wp && ! $compatible_php ) { $compat .= '
' . __( 'This update does not work with your versions of WordPress and PHP.' ) . ' '; if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { @@ -770,6 +777,8 @@ function list_theme_updates() { if ( in_array( $stylesheet, $auto_updates, true ) ) { echo $auto_update_notice; } + + echo $upgrade_notice; ?>