Changeset 52450
- Timestamp:
- 01/05/2022 05:35:44 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/user-profile.js
r52193 r52450 217 217 218 218 // Make sure the password fields are shown. 219 $generateButton. attr( 'aria-expanded', 'true' );219 $generateButton.not( '.skip-aria-expanded' ).attr( 'aria-expanded', 'true' ); 220 220 $passwordWrapper 221 221 .show() … … 258 258 // Stop an empty password from being submitted as a change. 259 259 $submitButtons.prop( 'disabled', false ); 260 261 $generateButton.attr( 'aria-expanded', 'false' ); 260 262 } ); 261 263 -
trunk/src/wp-login.php
r52435 r52450 980 980 <input type="hidden" name="rp_key" value="<?php echo esc_attr( $rp_key ); ?>" /> 981 981 <p class="submit reset-pass-submit"> 982 <button type="button" class="button wp-generate-pw hide-if-no-js " aria-expanded="true"><?php _e( 'Generate Password' ); ?></button>982 <button type="button" class="button wp-generate-pw hide-if-no-js skip-aria-expanded"><?php _e( 'Generate Password' ); ?></button> 983 983 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Save Password' ); ?>" /> 984 984 </p>
Note: See TracChangeset
for help on using the changeset viewer.