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