WordPress.org

Make WordPress Core

Ticket #37644: 37644.1.diff

File 37644.1.diff, 729 bytes (added by dimadin, 4 years ago)
  • wp-includes/script-loader.php

     
    400400        $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter', 'wp-util' ), false, 1 );
    401401        did_action( 'init' ) && $scripts->localize( 'user-profile', 'userProfileL10n', array(
    402402                'warn'     => __( 'Your new password has not been saved.' ),
    403                 'warnWeak' => __( 'Confirm use of weak password.' ),
     403                'warnWeak' => __( 'Confirm use of weak password' ),
    404404                'show'     => __( 'Show' ),
    405405                'hide'     => __( 'Hide' ),
    406406                'cancel'   => __( 'Cancel' ),