Coding Standards: Fix typo in the JS function name for handling the password reset button.

Follow-up to [50129].

See #53359.

git-svn-id: https://develop.svn.wordpress.org/trunk@51526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-08-02 16:47:38 +00:00
parent 3a189c93e1
commit 1ea9ce390d

View File

@@ -95,7 +95,7 @@
* Handle the password reset button. Sets up an ajax callback to trigger sending
* a password reset email.
*/
function bindPasswordRestLink() {
function bindPasswordResetLink() {
$( '#generate-reset-link' ).on( 'click', function() {
var $this = $(this),
data = {
@@ -431,7 +431,7 @@
});
bindPasswordForm();
bindPasswordRestLink();
bindPasswordResetLink();
});
$( '#destroy-sessions' ).on( 'click', function( e ) {