Changeset 48084
- Timestamp:
- 06/18/2020 08:22:16 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r48067 r48084 2554 2554 * 2555 2555 * The filtered WP_Error object may, for example, contain errors for an invalid 2556 * or existing username or email address. A WP_Error object should always returned,2556 * or existing username or email address. A WP_Error object should always be returned, 2557 2557 * but may or may not contain errors. 2558 2558 * -
trunk/src/wp-login.php
r48059 r48084 382 382 */ 383 383 do_action( 'lostpassword_post', $errors, $user_data ); 384 385 /** 386 * Filters the errors encountered on a password reset request. 387 * 388 * The filtered WP_Error object may, for example, contain errors for an invalid 389 * username or email address. A WP_Error object should always be returned, 390 * but may or may not contain errors. 391 * 392 * If any errors are present in $errors, this will abort the password reset request. 393 * 394 * @since 5.5.0 395 * 396 * @param WP_Error $errors A WP_Error object containing any errors generated 397 * by using invalid credentials. 398 * @param WP_User|false WP_User object if found, false if the user does not exist. 399 */ 400 $errors = apply_filters( 'lostpassword_errors', $errors, $user_data ); 384 401 385 402 if ( $errors->has_errors() ) {
Note: See TracChangeset
for help on using the changeset viewer.