X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..1132430022383fdf47fa6cb9377300fd885297aa:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index b12fbe8a..b0ec9a43 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,22 +9,25 @@ /** 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' => '' +) ); + $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); -// Temporary 3.8 hack: We want to use user-profile for the color schemes but don't need the heavy zxcvbn. -wp_deregister_script( 'zxcvbn-async' ); -wp_register_script( 'zxcvbn-async', false ); -wp_enqueue_script( 'user-profile' ); - include( ABSPATH . 'wp-admin/admin-header.php' ); ?> +
Version %1$s addressed %2$s bug.', + 'Version %1$s addressed %2$s bugs.', 1 ), '4.1.3', number_format_i18n( 1 ) ); ?> + the release notes.' ), 'http://codex.wordpress.org/Version_4.1.3' ); ?> +
+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/' ); ?>
+ +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.' ); ?>
- -
visit your profile.' ), get_edit_profile_url( get_current_user_id() ) ); ?>
+ + +' . 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' ) ); + ?>