get_current_screen()->
set_help_sidebar( '<p><strong>' .
__( 'For more information:'
) . '</strong></p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>'
) . '</p>' .
$help_sidebar_autoupdates .
'<p>' .
__( '<a href="https://wordpress.org/support/forums/">Support forums</a>'
) . '</p>' .
$help_sidebar_rollback);
if ( 'upgrade-core' ===
$action ) { // Force an update check when requested.
$force_check = !
empty( $_GET['force-check'
] );
wp_version_check( array
(),
$force_check );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap">
<h1><?php
_e( 'WordPress Updates'
); ?></h1>
<p><?php
_e( 'Updates may take several minutes to complete. If there is no feedback after 5 minutes, or if there are errors please refer to the Help section above.'
); ?></p>
<?php
if ( $upgrade_error ) { if ( 'themes' ===
$upgrade_error ) { $theme_updates =
get_theme_updates();