WordPress.org

Make WordPress Core

Ticket #46079: 46079.2.diff

File 46079.2.diff, 507 bytes (added by garrett-eclipse, 16 months ago)

Updated patch to provide full clarity and parity with #51351 using 'This user privacy request has expired.'

  • src/wp-includes/user.php

     
    38663866        }
    38673867
    38683868        if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) {
    3869                 return new WP_Error( 'expired_link', __( 'This link has expired.' ) );
     3869                return new WP_Error( 'expired_link', __( 'This user privacy request has expired.' ) );
    38703870        }
    38713871
    38723872        if ( empty( $key ) ) {