diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 7caa1063c1..3aefbb89ba 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -1037,13 +1037,21 @@ if ( 'upgrade-core' === $action ) {
'; if ( 'themes' === $upgrade_error ) { - _e( 'Please select one or more themes to update.' ); + $theme_updates = get_theme_updates(); + if ( ! empty( $theme_updates ) ) { + echo '
'; + _e( 'Please select one or more themes to update.' ); + echo '
'; + _e( 'Please select one or more plugins to update.' ); + echo '