Make WordPress Core


Ignore:
Timestamp:
03/31/2010 08:45:51 AM (15 years ago)
Author:
dd32
Message:

Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r13833 r13900  
    252252        $scripts->add_data( 'admin-custom-fields', 'group', 1 );
    253253
    254         $scripts->add( 'password-strength-meter', "/wp-admin/js/password-strength-meter$suffix.js", array('jquery'), '20090102' );
     254        $scripts->add( 'password-strength-meter', "/wp-admin/js/password-strength-meter$suffix.js", array('jquery'), '20100331' );
    255255        $scripts->add_data( 'password-strength-meter', 'group', 1 );
    256256        $scripts->localize( 'password-strength-meter', 'pwsL10n', array(
     
    261261            'good' => _x('Medium', 'password strength'),
    262262            'strong' => __('Strong'),
     263            'mismatch' => __('Mismatch'),
    263264            'l10n_print_after' => 'try{convertEntities(pwsL10n);}catch(e){};'
    264265        ) );
Note: See TracChangeset for help on using the changeset viewer.