Skip to content

Commit 1ea9ce3

Browse files
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
1 parent 3a189c9 commit 1ea9ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/_enqueues/admin/user-profile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
* Handle the password reset button. Sets up an ajax callback to trigger sending
9696
* a password reset email.
9797
*/
98-
function bindPasswordRestLink() {
98+
function bindPasswordResetLink() {
9999
$( '#generate-reset-link' ).on( 'click', function() {
100100
var $this = $(this),
101101
data = {
@@ -431,7 +431,7 @@
431431
});
432432

433433
bindPasswordForm();
434-
bindPasswordRestLink();
434+
bindPasswordResetLink();
435435
});
436436

437437
$( '#destroy-sessions' ).on( 'click', function( e ) {

0 commit comments

Comments
 (0)