From 1ea9ce390d0589613ef26f36cdfcad16b8b82483 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 2 Aug 2021 16:47:38 +0000 Subject: [PATCH] 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 --- src/js/_enqueues/admin/user-profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/_enqueues/admin/user-profile.js b/src/js/_enqueues/admin/user-profile.js index 3b5e26f977..c2a403fe38 100644 --- a/src/js/_enqueues/admin/user-profile.js +++ b/src/js/_enqueues/admin/user-profile.js @@ -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 ) {