diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
index 7caa1063c1..3aefbb89ba 100644
--- a/wp-admin/update-core.php
+++ b/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 '
';
+ }
} else {
- _e( 'Please select one or more plugins to update.' );
+ $plugin_updates = get_plugin_updates();
+ if ( ! empty( $plugin_updates ) ) {
+ echo '';
+ _e( 'Please select one or more plugins to update.' );
+ echo '
';
+ }
}
- echo '';
}
$last_update_check = false;
diff --git a/wp-includes/version.php b/wp-includes/version.php
index d845d0eea8..5b0fba8508 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.3-beta2-56106';
+$wp_version = '6.3-beta2-56107';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.