-<div class="wrap about-wrap">
-
-<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
-
-<div class="about-text"><?php echo str_replace( '3.7', $display_version, __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we’re okay with that.' ) ); ?></div>
-
-<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
-
-<h2 class="nav-tab-wrapper">
- <a href="about.php" class="nav-tab nav-tab-active">
- <?php _e( 'What’s New' ); ?>
- </a><a href="credits.php" class="nav-tab">
- <?php _e( 'Credits' ); ?>
- </a><a href="freedoms.php" class="nav-tab">
- <?php _e( 'Freedoms' ); ?>
- </a>
-</h2>
-
-<div class="changelog point-releases">
- <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 2 ); ?></h3>
- <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
- '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 9 ), '3.7.2', number_format_i18n( 9 ) ); ?>
- <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.7.2' ); ?>
- </p>
- <p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
- '<strong>Version %1$s</strong> addressed %2$s bugs.', 11 ), '3.7.1', number_format_i18n( 11 ) ); ?>
- <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.7.1' ); ?>
- </p>
-</div>
-
-<div class="changelog">
- <h3><?php _e( 'Background Updates' ); ?></h3>
-
- <div class="feature-section col three-col about-updates">
- <div class="col-1">
- <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>
- </div>
- <div class="col-2">
- <img alt="" src="<?php echo admin_url( 'images/about-updates-2x.png' ); ?>" />
- </div>
- <div class="col-3 last-feature">
- <h4><?php _e( 'More Reliable Than Ever' ); ?></h4>
- <p><?php _e( 'The update process has been made even more reliable and secure, with dozens of new checks and safeguards.' ); ?></p>
- <p><?php _e( 'You’ll still need to click “Update Now” once WordPress 3.8 is released, but we’ve never had more confidence in that beautiful blue button.' ); ?></p>
- </div>
- <?php
- if ( current_user_can( 'update_core' ) ) {
- $future_minor_update = (object) array(
- 'current' => $wp_version . '.1.next.minor',
- 'version' => $wp_version . '.1.next.minor',
- 'php_version' => $required_php_version,
- 'mysql_version' => $required_mysql_version,
- );
- require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
- $updater = new WP_Automatic_Updater;
- $can_auto_update = wp_http_supports( array( 'ssl' ) ) && $updater->should_update( 'core', $future_minor_update, ABSPATH );
-
- if ( $can_auto_update ) {
- echo '<p class="about-auto-update cool">' . __( 'This site <strong>is</strong> able to apply these updates automatically. Cool!' ). '</p>';
-
- // If the updater is disabled entirely, don't show them anything.
- } elseif ( ! $updater->is_disabled() ) {
- echo '<p class="about-auto-update">';
- // If this is is filtered to false, they won't get emails, so don't claim we will.
- // Assumption: If the user can update core, they can see what the admin email is.
-
- /** This filter is documented in wp-admin/includes/class-wp-upgrader.php */
- if ( apply_filters( 'send_core_update_notification_email', true, $future_minor_update ) ) {
- printf( __( 'This site <strong>is not</strong> able to apply these updates automatically. But we’ll email %s when there is a new security release.' ), esc_html( get_site_option( 'admin_email' ) ) );
- } else {
- _e( 'This site <strong>is not</strong> able to apply these updates automatically.' );
- }
- echo '</p>';
- }
- }
- ?>
- </div>
-</div>