mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Built from https://develop.svn.wordpress.org/trunk@25834 git-svn-id: http://core.svn.wordpress.org/trunk@25746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c3a27493e6
commit
de21e296ce
@ -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