mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@49113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -294,8 +294,7 @@ function wp_widget_control( $sidebar_args ) {
|
||||
<div class="alignleft">
|
||||
<button type="button" class="button-link button-link-delete widget-control-remove"><?php _e( 'Delete' ); ?></button>
|
||||
<span class="widget-control-close-wrapper">
|
||||
|
|
||||
<button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button>
|
||||
| <button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="alignright<?php echo $noform_class; ?>">
|
||||
|
||||
Reference in New Issue
Block a user