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

Follow-up to [50129].

See #53359.
Built from https://develop.svn.wordpress.org/trunk@51526


git-svn-id: http://core.svn.wordpress.org/trunk@51137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2021-08-02 16:48:57 +00:00
parent 47fc56d650
commit 2e707307d9
2 changed files with 3 additions and 3 deletions

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 ) {