X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..4ea0dca21bda49aab5ccb91ec12bb4ef5924ed3e:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 6e85b919..72b20ba5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,157 +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 some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 2 ), '4.2.5', number_format_i18n( 2 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.2.5' ); ?> -
-Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 4 ), '4.2.4', number_format_i18n( 4 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.2.4' ); ?> -
-Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 20 ), '4.2.3', number_format_i18n( 20 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.2.3' ); ?> -
-Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 13 ), '4.2.2', number_format_i18n( 13 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.2.2' ); ?> -
-Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.', 1 ), '4.2.1' ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.2.1' ); ?> -
-Tools menu, add Press This to your browser bookmark bar or your mobile device home screen. Once installed you can share your content with lightning speed. Sharing your favorite videos, images, and content has never been this fast or this easy.' ), admin_url( 'tools.php' ) ); ?>
- - - -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' ); ?> +
+emoji.' ), '💙', '🐸', '🐒', '🍕', __( 'https://codex.wordpress.org/Emoji' ) ); - ?>
-your content, before it debuts on your site. ' ); ?>
-Update Now and watch the magic happen.' ); ?>
-wp.a11y.speak()' ); - ?>
+Plugin Developer Handbook.' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' ); - ?>
- +WP_Query', 'WP_Comment_Query
', 'WP_User_Query
' );
+ 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/'
+ );
?>
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/'
+ );
+ ?>