X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0f684a09c03e547d3132bddc970cbeafcd1102f4..5d244c8fd9a27c9f89dd08da2af6fbc67d4fce63:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 0a4344b1..f1c263b8 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -10,8 +10,11 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); wp_enqueue_style( 'wp-mediaelement' ); -wp_enqueue_script( 'wp-playlist' ); -add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 ); +wp_enqueue_script( 'wp-mediaelement' ); +wp_localize_script( 'mediaelement', '_wpmejsSettings', array( + 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), + 'pauseOtherPlayers' => '' +) ); $title = __( 'About' ); @@ -24,7 +27,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- + @@ -39,217 +42,152 @@ 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.', 34 ), '3.9.1', number_format_i18n( 34 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_3.9.1' ); ?> + '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.' ); ?>
' . 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' ) ); + ?>
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 )' ); ?>
- - + +doing_action() and doing_filter()
, and manipulate custom image sizes with has_image_size()
and remove_image_size()
.' ); ?>
<title>
' );
+ ?>add_theme_support( 'title-tag' )" ); + ?>
+ + +developer reference more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?>