Remove redundant code. see #25603, #22704, [25833].

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:
Andrew Nacin 2013-10-17 20:30:10 +00:00
parent c3a27493e6
commit de21e296ce
1 changed files with 0 additions and 3 deletions

View File

@ -41,9 +41,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h4><?php _e( 'Updates While You Sleep' ); ?></h4> <h4><?php _e( 'Updates While You Sleep' ); ?></h4>
<p><?php _e( 'With WordPress 3.7, you don&#8217;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> <p><?php _e( 'With WordPress 3.7, you don&#8217;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 <?php
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$upgrader = new WP_Automatic_Upgrader;
$can_auto_update = wp_http_supports( 'ssl' ); $can_auto_update = wp_http_supports( 'ssl' );
if ( $can_auto_update ) { if ( $can_auto_update ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';