Ticket #53992: 53992-alt.patch
| File 53992-alt.patch, 811 bytes (added by , 5 years ago) |
|---|
-
src/wp-login.php
983 983 * Filters the registration redirect URL. 984 984 * 985 985 * @since 3.0.0 986 * 986 * @since 5.9.0 Added the `$errors` parameter. 987 987 * @param string $registration_redirect The redirect destination URL. 988 * @param int|WP_Error $error User id if registration was successful, WP_Error object otherwise. 988 989 */ 989 $redirect_to = apply_filters( 'registration_redirect', $registration_redirect );990 $redirect_to = apply_filters( 'registration_redirect', $registration_redirect, $errors ); 990 991 991 992 login_header( __( 'Registration Form' ), '<p class="message register">' . __( 'Register For This Site' ) . '</p>', $errors ); 992 993