Make WordPress Core


Ignore:
Timestamp:
10/09/2020 03:51:34 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/widgets.php

    r48109 r49113  
    295295            <button type="button" class="button-link button-link-delete widget-control-remove"><?php _e( 'Delete' ); ?></button>
    296296            <span class="widget-control-close-wrapper">
    297                 |
    298                 <button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button>
     297                | <button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button>
    299298            </span>
    300299        </div>
Note: See TracChangeset for help on using the changeset viewer.