X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/5d244c8fd9a27c9f89dd08da2af6fbc67d4fce63..refs/tags/wordpress-4.4.2:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index f1c263b8..a808afca 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -16,178 +16,196 @@ wp_localize_script( 'mediaelement', '_wpmejsSettings', array( 'pauseOtherPlayers' => '' ) ); +if ( current_user_can( 'install_plugins' ) ) { + add_thickbox(); + wp_enqueue_script( 'plugin-install' ); +} + +$video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} + +wp_oembed_add_host_js(); + $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> - -
- -

- -
- -
- - - -
-

-

Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.', 8 ), '4.1.2' ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.1.2' ); ?> -

-

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

-
-
- -
- -
-

- -
-
- -

-

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

+
+ +
-
- -

-

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

+
+ +
+ +
+

+

+
-
-
- -
- -
-

- -
-
-

-

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

-

-

+
+ +
+
+
+ +
+
+
+

+

+
-
-

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

-

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

- -

-

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

-
-
-
+
+ +
+

+ +
+
+

+
+

+

'plugin-information', + 'plugin' => 'rest-api', + 'TB_iframe' => true, + 'width' => 600, + 'height' => 550 + ); + + $plugin_link = 'WordPress REST API'; + } else { + $plugin_link = 'WordPress REST API'; + } + + /* translators: WordPress REST API plugin link */ + printf( __( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link ); + ?>

+
+
+
+ +
+
+

+

add_term_meta()', + 'get_term_meta()', + 'update_term_meta()' + ); + ?>

+
+
+

+

WP_Comment_Query' ); + ?>

+
+
+

+

WP_Term', + 'WP_Comment', + 'WP_Network' + ); + ?>

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