X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/febc815b2c9d85be5717da9e8d164bd2daa97e31..4ea0dca21bda49aab5ccb91ec12bb4ef5924ed3e:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 5cb979df..72b20ba5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -18,38 +18,23 @@ if ( ! wp_is_mobile() ) { ) ); } -/** - * Replaces the height and width attributes with values for full size. - * - * wp_video_shortcode() limits the width to 640px. - * - * @since 4.6.0 - * @ignore - * - * @param $output Video shortcode HTML output. - * @return string Filtered HTML content to display video. - */ -function _wp_override_admin_video_width_limit( $output ) { - return str_replace( array( '640', '384' ), array( '1050', '630' ), $output ); -} - -$video_url = 'https://videopress.com/embed/GbdhpGF3?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 ); } $title = __( 'About' ); -list( $display_version ) = explode( '-', $wp_version ); +list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?>

-

+

-
+
+ +
+

+

+ + + + + +

+
+ +
+ +
+

+

+
-
-

-

- +
+

+

+
+
+ 'https://s.w.org/images/core/4.6/streamlined-updates.mp4', - 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', - 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', + 'mp4' => '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' => 1050, - 'height' => 630, - 'class' => 'wp-video-shortcode feature-video', + 'width' => 1140, + 'height' => 624, + // 'class' => 'wp-video-shortcode feature-video', ) ); - remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' ); - } else { - echo ''; - } - ?> + ?> +
-
+
+
+

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

+
+ +
+
-

+

-

-

Resource hints help browsers decide which resources to fetch and preprocess. WordPress 4.6 adds them automatically for your styles and scripts making your site even faster.' ), - 'https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/' - ); - ?>

-
-
-

-

+

+

-

WP_Term_Query', 'WP_Post_Type' ); - ?>

+

WP_Term_Query', - 'WP_Post_Type' + /* 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

has been expanded to support types, descriptions, and REST API visibility.' ), - 'https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/' + /* 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/' ); ?>

-

-

WordPress.org’s community of translators.' ); ?>

-
-
-

-

-
-
- -
-
-

-

API for enforcing validation constraints. Likewise, customizer controls now support notifications, which are used to display validation errors instead of failing silently.' ); ?>

-
-
-

+

WP_Site_Query', - 'WP_Network_Query' + /* 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/' ); ?>

+
+

+

+
+