WordPress.org

Make WordPress Core

Ticket #32116: lost-password-errors.diff

File lost-password-errors.diff, 752 bytes (added by TheDeadMedic, 4 years ago)
  • src/wp-login.php

    diff --git a/src/wp-login.php b/src/wp-login.php
    index d52ccb3..d92f090 100644
    a b function retrieve_password() { 
    290290         *
    291291         * @since 2.1.0
    292292         */
    293         do_action( 'lostpassword_post' );
     293        do_action_ref_array( 'lostpassword_post', array( &$errors ) );
    294294
    295295        if ( $errors->get_error_code() )
    296296                return $errors;