if ( isset( $updates[0
]->version
) &&
version_compare( $updates[0
]->version,
$wp_version, '>'
) ) { echo '<p>' .
wp_get_auto_update_message() . '</p>';
} } $action_url =
self_admin_url( 'update-core.php?action=core-major-auto-updates-settings'
);
?>
<p class="auto-update-status">
<?php
if ( $updater->
is_vcs_checkout( ABSPATH
) ) { _e( 'This site appears to be under version control. Automatic updates are disabled.'
);
} elseif ( $upgrade_major ) { _e( 'This site is automatically kept up to date with each new version of WordPress.'
);
if ( $can_set_update_option ) { echo '<br />';
printf( '<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-disable">%s</a>',
wp_nonce_url( add_query_arg( 'value', 'disable',
$action_url ), 'core-major-auto-updates-nonce'
),
__( 'Switch to automatic updates for maintenance and security releases only.'
) );
}