From c628344422b7e2e0bf4fb0db3d98929a31b2e2ba Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 9 Oct 2020 15:53:08 +0000 Subject: [PATCH] Accessibility: Widgets: Add a "Cancel" link when editing a widget in accessibility mode. This allows the user to go back without saving any changes to the widget. Props garrett-eclipse, audrasjb, afercia. Fixes #49354. Built from https://develop.svn.wordpress.org/trunk@49113 git-svn-id: http://core.svn.wordpress.org/trunk@48875 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/widgets.php | 3 +-- wp-admin/widgets.php | 34 +++++++++++++++++++--------------- wp-includes/version.php | 2 +- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php index a74896cc54..ac98cdb527 100644 --- a/wp-admin/includes/widgets.php +++ b/wp-admin/includes/widgets.php @@ -294,8 +294,7 @@ function wp_widget_control( $sidebar_args ) {
- | - + |
diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 9667126b15..ef9c8737eb 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -346,22 +346,26 @@ if ( isset( $_GET['editwidget'] ) && $_GET['editwidget'] ) {
- - - - - - - -
+
+ + + + | + + + + +
+
+ + + + + +
+
+ diff --git a/wp-includes/version.php b/wp-includes/version.php index 08418813c7..5df52681aa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49112'; +$wp_version = '5.6-alpha-49113'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.