X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..53a5df18dd17a11c18781e78349feb3e139096b4:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 8b155d21..c0ef6c60 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -7,19 +7,21 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); +wp_enqueue_script( 'about' ); + include( ABSPATH . 'wp-admin/admin-header.php' ); ?>

-
+
@@ -33,103 +35,109 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); +
+

+

Version %1$s addressed %2$s bug.', + 'Version %1$s addressed %2$s bugs.', 11 ), '3.7.1', number_format_i18n( 11 ) ); ?> + the release notes.' ), 'http://codex.wordpress.org/Version_3.7.1' ); ?> +

+
+
-

+

-
- -

-

-

+
+
+

+

+
+
+ +
+
+

+

+

+
+ $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 '

' . __( 'This site is able to apply these updates automatically. Cool!' ). '

'; + + // If the updater is disabled entirely, don't show them anything. + } elseif ( ! $updater->is_disabled() ) { + echo '

'; + // 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 is not 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 is not able to apply these updates automatically.' ); + } + echo '

'; + } + } + ?>
-
-

- -
- -

-

-

-

-
+
+

-

-

+

+

-
-

-

+
+ +

+ change your password?' ), esc_url( self_admin_url( 'profile.php' ) ) ); ?>
-

- -
-
"$sample_video.mp4", - 'ogv' => "$sample_video.ogv", - 'width' => 625, - 'height' => 360, - ); - // Opera 12 (Presto, pre-Chromium) fails to load ogv properly - // when combined with ME.js. Works fine in Opera 15. - // Don't serve ogv to Opera 12 to avoid complete brokeness. - if ( $GLOBALS['is_opera'] ) - unset( $args['ogv'] ); - // Our current ME.js API is limited to shortcodes in posts. - echo wp_video_shortcode( $args ); - ?>
-

-

- -

-

-

embeds that WordPress supports.)' ), 'http://codex.wordpress.org/Embeds' ); ?>

-
-
- -
-

- -
-
-

-

-
+
-

-

+

+

-

-

+

+

+
+ +
+

-

-

has_shortcode() and adjust shortcode attributes with a new filter.' ); ?>

+

+

-

-

+

+

-

-

MediaElement.js, jQuery %2$s, jQuery UI %3$s, jQuery Migrate, Backbone %4$s.' ), 'http://mediaelementjs.com/', '1.10.2', '1.10.3', '1.0' ); ?>

+

+

wp_get_sites() allows developers to easily get an array of all the sites on your network without resorting to a direct database query — just one of many improvements to multisite in WordPress 3.7.' ); ?>

-