WordPress.org

Make WordPress Core

Ticket #46079: user.php.patch

File user.php.patch, 506 bytes (added by utsav72640, 3 years ago)

/wp-includes/user.php

  • wp-includes/user.php

    diff --git a/wp-includes/user.php b/wp-includes/user.php
    index 064f514..fbb0fb9 100644
    a b function wp_validate_user_request_key( $request_id, $key ) { 
    35703570        }
    35713571
    35723572        if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) {
    3573                 return new WP_Error( 'expired_link', __( 'This link has expired.' ) );
     3573                return new WP_Error( 'expired_link', __( 'Request link has expired.' ) );
    35743574        }
    35753575
    35763576        if ( empty( $key ) ) {