X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/985e04597a9f1ddc4a3b406d0fb33722e097ee8b..4ea0dca21bda49aab5ccb91ec12bb4ef5924ed3e:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index c8512135..72b20ba5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,181 +9,246 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -wp_enqueue_style( 'wp-mediaelement' ); -wp_enqueue_script( 'wp-mediaelement' ); -wp_localize_script( 'mediaelement', '_wpmejsSettings', array( - 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), - 'pauseOtherPlayers' => '' -) ); +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 ); +} $title = __( 'About' ); -list( $display_version ) = explode( '-', $wp_version ); +list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> - -
- -

- -
- -
- - - -
-

-

Version %1$s addressed %2$s bug.', - 'Version %1$s addressed %2$s bugs.', 21 ), '4.1.1', number_format_i18n( 21 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.1.1' ); ?> -

-
- -
-

- - -
-
-

-

Google’s Noto font family.' ), 'https://www.google.com/get/noto/' ); ?>

-

-

+
+

+ +

+
+ + + +
+

+

Version %s addressed some security issues.' ), '4.7.2' ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.7.2' ); ?> +

+

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

-
- + +
+ +
-
-
-
+
+ +
+

+

+ + + + + +

+
-
+
-
-

-
-
- - - - +
+

+

-

-

distraction-free writing mode. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?>

-
-
-
- -
-

+
+
+

+

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

-

' . 40 . ''; - $string = __( 'Right now, WordPress %1$s is already translated into %2$s languages, with more always in progress. You can switch to any translation on the General Settings screen.' ); - if ( ! current_user_can( 'manage_options' ) ) { - $string = strip_tags( $string ); - } - echo sprintf( $string, $display_version, $count, admin_url( 'options-general.php' ) ); - ?>

+
+
+

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

+
-
- -

-

full list of supported embeds.' ), 'http://codex.wordpress.org/Embeds' ); ?>

+
+
+

+ +

+
+
+

+ +

+
-
- -

-

your profile and log out everywhere.' ), get_edit_profile_url() ); ?>

+
+ +
+
+

+ +

+
+
+

+ +

+
-
- -

+
+ +
+

+

+

plugin installer suggests plugins for you to try. Recommendations are based on the plugins you and other users have installed.' ); - if ( ! current_user_can( 'install_plugins' ) ) { - $string = strip_tags( $string ); - } - echo sprintf( $string, network_admin_url( 'plugin-install.php?tab=recommended' ) ); + printf( + /* translators: %s: https://developer.wordpress.org/rest-api/ */ + __( 'Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with sites through plugins, themes, apps, and beyond. Ready to get started with development? Check out the REST API reference.' ), + 'https://developer.wordpress.org/rest-api/reference/' + ); ?>

-
-
- -
- -
-

-
-
-

-

A AND ( B OR C )' ); ?>

+
+ +
+

+ +
+
+

+

+
+
+

+

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

+
+
+

+

+
+
-

-

-
-

" tag */ - printf( __( '%s tags in themes' ), '<title>' ); - ?>

-

add_theme_support( 'title-tag' )" ); - ?>

-

-

developer reference more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?>

-
-
+
-
+
+ + + + | + + +
-
- - | - -
-
- -
- - 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.', @@ -211,4 +282,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.' );