Make WordPress Core

Ticket #53992: 53992.patch

File 53992.patch, 696 bytes (added by aadilali, 5 years ago)

I have crated the patch for this.

  • wp-login.php

     
    985985                 * @since 3.0.0
    986986                 *
    987987                 * @param string $registration_redirect The redirect destination URL.
     988                 * @param int|WP_Error $error   User id if registration was successful, WP_Error object otherwise.
    988989                 */
    989                 $redirect_to = apply_filters( 'registration_redirect', $registration_redirect );
     990                $redirect_to = apply_filters( 'registration_redirect', $registration_redirect, $errors );
    990991
    991992                login_header( __( 'Registration Form' ), '<p class="message register">' . __( 'Register For This Site' ) . '</p>', $errors );
    992993