[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/js/ -> user-profile.js (summary)

(no description)

File Size: 625 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  generatePassword()
  bindPass1()
  resetToggle()
  bindToggleButton()
  bindPasswordResetLink()
  addInlineNotice()
  bindPasswordForm()
  check_pass_strength()
  bindCapsLockWarning()
  isCapsLockOn()
  showOrHideWeakPasswordCheckbox()

Functions
Functions that are not part of a class:

generatePassword()   X-Ref


bindPass1()   X-Ref
No description

resetToggle( show )   X-Ref
No description

bindToggleButton()   X-Ref
No description

bindPasswordResetLink()   X-Ref
Handle the password reset button. Sets up an ajax callback to trigger sending
a password reset email.


addInlineNotice( $this, success, message )   X-Ref
Helper function to insert an inline notice of success or failure.

param: {jQuery Object} $this   The button element: the message will be inserted
param: {bool}          success Whether the message is a success message.
param: {string}        message The message to insert.

bindPasswordForm()   X-Ref
No description

check_pass_strength()   X-Ref
No description

bindCapsLockWarning( $input )   X-Ref
Bind Caps Lock detection to a password input field.

param: {jQuery} $input The password input field.

isCapsLockOn( event )   X-Ref
Determines if Caps Lock is currently enabled.

On macOS Safari and Firefox, the native warning is preferred,
so this function returns false to suppress custom warnings.

param: {KeyboardEvent} e The keydown event object.
return: {boolean} True if Caps Lock is on, false otherwise.

showOrHideWeakPasswordCheckbox()   X-Ref
No description



Generated : Thu Oct 30 08:20:06 2025 Cross-referenced by PHPXref