From 5bab5d2994cc7022897b3a6971e63c9df2f51829 Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Tue, 2 Mar 2021 20:12:19 +0000 Subject: [PATCH] Help/About: Iterate on the 5.7 About Page. Adds a more obviously interactive comparison for viewing the color scheme differences. Improvements on RTL and IE11. Update strings to be more clear and consistent. Switch to the CDN for loading images. Props sarahricker, desrosj, melchoyce, SergeyBiryukov, tikifez, clorith, marybaum, audrasjb, francina, hellofromTonya. Reviewed by SergeyBiryukov. Merges [50478] to the 5.7 branch. Fixes #52693. See #52347. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50480 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 107 ++++++++++++++++++++++++++++++++----- src/wp-admin/css/about.css | 38 +++++++------ 2 files changed, 117 insertions(+), 28 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 89867a34bb..b4676bb7da 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -9,6 +9,9 @@ /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; +wp_enqueue_script( 'wp-components' ); +wp_enqueue_style( 'wp-components' ); + /* translators: Page title of the About WordPress page in the admin. */ $title = _x( 'About', 'page title' ); @@ -90,7 +93,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
@@ -112,12 +116,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

Social Icons block: you can now change the size of the icons in the Social Icons block.' ); + _e( 'Social Icons block: now you can change the size of the icons.' ); ?>

- +
@@ -130,14 +134,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
-
-
+
+
+ <?php esc_attr_e( 'Dashboard with old color scheme.' ); ?>
- + <?php esc_attr_e( 'Dashboard with new color scheme.' ); ?>
-
-
+
+
@@ -193,14 +198,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

max-image-preview: large by default. That means search engines can show bigger image previews (unless the blog is marked as not public), which can boost your traffic.' ) + _e( 'The new Robots API lets you include the filter directives in the robots meta tag, and the API includes the max-image-preview: large directive by default. That means search engines can show bigger image previews, which can boost your traffic (unless the site is marked not-public).' ); ?>

-

+

loading="lazy" attribute to iframe tags on the front end.' ); ?>

@@ -234,9 +239,87 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- + + +