X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 04a85566..2904ced5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,190 +9,242 @@ /** 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 ( current_user_can( 'install_plugins' ) ) { - add_thickbox(); - wp_enqueue_script( 'plugin-install' ); +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/J44FHXvg?hd=true'; -$locale = str_replace( '_', '-', get_locale() ); -list( $locale ) = explode( '-', $locale ); -if ( 'en' !== $locale ) { - $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +$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 ); } -wp_oembed_add_host_js(); - $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.', 62 ), '4.7.1', number_format_i18n( 62 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.7.1' ); ?> +

+
+
-
+
-
-

-
- -
-
-
-

-

-

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

+

+ + + + + +


+
+

+

+
+
-
- -
+

+

-

-

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

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

+
+
-

-

+

+ +


-
+
-
- -
+

+ +

-

-

+

+ +


-
-

+
+

+

+ +

Check out the REST API reference.' ), + 'https://developer.wordpress.org/rest-api/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()' - ); + printf( + /* translators: %s: https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/ */ + __( 'WordPress 4.7 includes 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

WP_Comment_Query' ); + printf( + /* translators: %s: https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ */ + __( 'The code that lies beneath actions and filters has been overhauled and modernized, fixing bugs along the way.' ), + 'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/' + ); ?>

-

+

WP_Term', - 'WP_Comment', - 'WP_Network' + printf( + /* translators: 1: register_setting(), 2: https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/ */ + __( '%1$s 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/' ); ?>

+
+

+

+
-
- - - - | - - -
+
+
+ +
+ + + + | + +
+