echo '<p>' .
__( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, this mode will be deactivated.'
) . '</p>';
} elseif ( !
$updates ) { list
( $normalized_version ) =
explode( '-',
$wp_version );
echo '<p>' .
sprintf( /* translators: 1: URL to About screen, 2: WordPress version. */
__( '<a href="%1$s">Learn more about WordPress %2$s</a>.'
),
esc_url( self_admin_url( 'about.php'
) ),
$normalized_version ) . '</p>';
} dismissed_updates();
}/**
* Display WordPress auto-updates settings.
*
* @since 5.6.0
*/
function core_auto_updates_settings() { if ( isset( $_GET['core-major-auto-updates-saved'
] ) ) { if ( 'enabled' ===
$_GET['core-major-auto-updates-saved'
] ) { $notice_text =
__( 'Automatic updates for all WordPress versions have been enabled. Thank you!'
);