Make WordPress Core

Ticket #28236: 28236.2.diff

File 28236.2.diff, 861 bytes (added by swissspidy, 2 years ago)
  • .jshintrc

    diff --git .jshintrc .jshintrc
    index fb4a1cf8ba..4caa7d2287 100644
     
    33        "curly": true,
    44        "eqeqeq": true,
    55        "eqnull": true,
    6         "esversion": 3,
     6        "esversion": 6,
    77        "expr": true,
    88        "immed": true,
    99        "noarg": true,
    1010        "nonbsp": true,
    11         "onevar": true,
    1211        "quotmark": "single",
    13         "trailing": true,
    1412        "undef": true,
    1513        "unused": true,
    1614
  • src/js/_enqueues/admin/user-profile.js

    diff --git src/js/_enqueues/admin/user-profile.js src/js/_enqueues/admin/user-profile.js
    index 466d115fc2..e4f249fe35 100644
     
    311311                                $('#pass-strength-result').addClass('short').html( pwsL10n.mismatch );
    312312                                break;
    313313                        default:
    314                                 $('#pass-strength-result').addClass('short').html( pwsL10n['short'] );
     314                                $('#pass-strength-result').addClass('short').html( pwsL10n.short );
    315315                }
    316316        }
    317317