WordPress.org

Make WordPress Core

Changeset 31483


Ignore:
Timestamp:
02/20/2015 01:04:03 PM (4 years ago)
Author:
SergeyBiryukov
Message:

When creating a new user, pasting a password should update the password strength indicator.

props dipesh.kakadiya.
fixes #31226.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/user-profile.js

    r31400 r31483  
    3535            select = $( '#display_name' );
    3636
    37         $('#pass1').val('').keyup( check_pass_strength );
    38         $('#pass2').val('').keyup( check_pass_strength );
     37        $('#pass1').val('').on( 'input propertychange', check_pass_strength );
     38        $('#pass2').val('').on( 'input propertychange', check_pass_strength );
    3939        $('#pass-strength-result').show();
    4040        $('.color-palette').click( function() {
Note: See TracChangeset for help on using the changeset viewer.