Make WordPress Core


Ignore:
Timestamp:
07/22/2015 06:35:51 PM (9 years ago)
Author:
markjaquith
Message:

Introduce a Cancel button and onUnload warning for password changes.

fixes #33079
props johnjamesjacoby

File:
1 edited

Legend:

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

    r33363 r33364  
    408408                    <span class="text"><?php _e( 'Hide' ); ?></span>
    409409                </button>
     410                <button type="button" class="button button-secondary wp-cancel-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Cancel password change' ); ?>">
     411                    <span class="text"><?php _e( 'Cancel' ); ?></span>
     412                </button>
    410413                <div style="display:none" id="pass-strength-result" aria-live="polite"></div>
    411414            </div>
Note: See TracChangeset for help on using the changeset viewer.