git-svn-id: https://develop.svn.wordpress.org/trunk@25834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab77984329
commit
ba10ec2cba
@ -41,9 +41,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<h4><?php _e( 'Updates While You Sleep' ); ?></h4>
|
||||
<p><?php _e( 'With WordPress 3.7, you don’t have to lift a finger to apply maintenance and security updates. Most sites are now able to automatically apply these updates in the background, though some configurations may not allow it.' ); ?></p>
|
||||
<?php
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
$upgrader = new WP_Automatic_Upgrader;
|
||||
|
||||
$can_auto_update = wp_http_supports( 'ssl' );
|
||||
if ( $can_auto_update ) {
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
|
Loading…
Reference in New Issue
Block a user