X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index a694fe54..2904ced5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,140 +9,243 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -$title = __( 'About' ); +if ( ! wp_is_mobile() ) { + wp_enqueue_style( 'wp-mediaelement' ); + wp_enqueue_script( 'wp-mediaelement' ); + wp_localize_script( 'mediaelement', '_wpmejsSettings', array( + 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), + 'pauseOtherPlayers' => '', + ) ); +} + +$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true'; +$lang_code = str_replace( '_', '-', get_user_locale() ); +list( $lang_code ) = explode( '-', $lang_code ); +if ( 'en' !== $lang_code ) { + $video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url ); +} -list( $display_version ) = explode( '-', $wp_version ); +$title = __( 'About' ); -wp_enqueue_script( 'about' ); +list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
+
+

-

+

+
-
+ -
+
+

+

Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', 62 ), '4.7.1', number_format_i18n( 62 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.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( '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' ) ) ); ?> + +
+
+

+

+
+
+ 'https://s.w.org/images/core/4.7/starter-content-v1.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2', + 'loop' => true, + 'autoplay' => true, + 'width' => 1140, + 'height' => 624, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?> +
-
-
-
-
-
-

-

+
+
+

+ 'https://s.w.org/images/core/4.7/edit-shortcuts-v1.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v2', + 'loop' => true, + 'autoplay' => true, + 'width' => 2520, + 'height' => 1454, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?> +

+
+
+

+ 'https://s.w.org/images/core/4.7/header-video-v1.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/header-video.jpg?v2', + 'loop' => true, + 'autoplay' => true, + 'width' => 2520, + 'height' => 1454, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?> +

+
-
-

-

+ +
+
+

+ +

+
+
+

+ +

+
-
-
-
-

+
+ +
+
+

+ +

+
+
+

+ +

+
+
+ +
-
-
-

-

+
+

+

+ +

Check out the REST API reference.' ), + 'https://developer.wordpress.org/rest-api/reference/' + ); + ?>

-
-

-

+ +
+ +
+

+ +
+
+

+

+
+
+

+

new functions, hooks, and behavior for theme developers.' ), + 'https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/' + ); + ?>

+
+
+

+

+
+
+ +
+
+

WP_Hook

+

+
+
+

+

has been enhanced to include type, description, and REST API visibility.' ), + 'register_setting()', + 'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/' + ); + ?>

+
+
+

+

+
+
+
-
-

-

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.' ); ?>

+ +
+ +
+ + + + | + +
-
- -
- - | - - -
- -
+ +
Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.' ); +/* translators: %s: WordPress version number */ +__( 'Version %s addressed one security issue.' ); +/* translators: %s: WordPress version number */ +__( 'Version %s addressed some security issues.' ); /* translators: 1: WordPress version number, 2: plural number of bugs. */ _n_noop( 'Version %1$s addressed %2$s bug.', @@ -170,4 +279,5 @@ _n_noop( 'Version %1$s addressed a security issue and fixed %2$ _n_noop( 'Version %1$s addressed some security issues and fixed %2$s bug.', 'Version %1$s addressed some security issues and fixed %2$s bugs.' ); +/* translators: %s: Codex URL */ __( 'For more information, see the release notes.' );