Make WordPress Core

Changeset 49392


Ignore:
Timestamp:
10/29/2020 06:41:31 PM (4 years ago)
Author:
adamsilverstein
Message:

Users: Password generation - restore "Cancel" aria label after r49248.

Restore the "Cancel" button aria label to "Cancel password change" after it was inadvertently changed in r49248.

Props SergeyBiryukov.
Fixes #42852.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r49294 r49392  
    642642                <span class="text"><?php _e( 'Hide' ); ?></span>
    643643            </button>
    644             <button type="button" class="button wp-cancel-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Cancel' ); ?>">
     644            <button type="button" class="button wp-cancel-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Cancel password change' ); ?>">
    645645                <span class="dashicons dashicons-no" aria-hidden="true"></span>
    646646                <span class="text"><?php _e( 'Cancel' ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.