Make WordPress Core


Ignore:
Timestamp:
10/11/2018 04:03:23 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Revert [43614] from the 4.9 branch.

This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #43985.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

    • Property svn:mergeinfo changed
      /trunkreverse-merged: 43568
  • branches/4.9/src/wp-admin/includes/file.php

    r43614 r43705  
    20602060
    20612061    if ( ! $request || 'export_personal_data' !== $request->action_name ) {
    2062         return new WP_Error( 'invalid_request', __( 'Invalid request ID when sending personal data export email.' ) );
     2062        return new WP_Error( 'invalid', __( 'Invalid request ID when sending personal data export email.' ) );
    20632063    }
    20642064
     
    21202120
    21212121    if ( ! $mail_success ) {
    2122         return new WP_Error( 'privacy_email_error', __( 'Unable to send personal data export email.' ) );
     2122        return new WP_Error( 'error', __( 'Unable to send personal data export email.' ) );
    21232123    }
    21242124
Note: See TracChangeset for help on using the changeset viewer.