From 74102fb12818446337dbc612a2cbe2a07d360caf Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 11 Apr 2016 17:46:27 +0000 Subject: [PATCH] About Page: Use `srcset` and the w.org CDN for images. Also, flip the "Selective Refresh" and "Smart Image Resizing" section and remove script enqueues which are no longer used. Props joemcgill, melchoyce, ocean90. Fixes #36173. Built from https://develop.svn.wordpress.org/trunk@37175 git-svn-id: http://core.svn.wordpress.org/trunk@37142 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/about.php | 42 ++++++++++++++--------------------------- wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 29 deletions(-) diff --git a/wp-admin/about.php b/wp-admin/about.php index d23af10f0b..54ed8b7d58 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,18 +9,6 @@ /** 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 ( current_user_can( 'customize' ) ) { wp_enqueue_script( 'customize-loader' ); } @@ -32,8 +20,6 @@ if ( 'en' !== $locale ) { $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); } -wp_oembed_add_host_js(); - $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); @@ -61,12 +47,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +

- +

<code>.' ); ?>

@@ -77,7 +63,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +

- +

-
-

-

It’s really cool.' ), - 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' - ); - ?>

-

+
+

+

It’s really cool.' ), + 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' + ); + ?>

+

diff --git a/wp-includes/version.php b/wp-includes/version.php index ee7d73f1cb..5f5d6ceb0f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-RC2-37174'; +$wp_version = '4.5-RC2-37175'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.