Make WordPress Core


Ignore:
Timestamp:
04/09/2019 12:03:07 AM (6 years ago)
Author:
pento
Message:

Privacy: Only mark a personal data export as complete when the user downloads it.

An admin may download an export to check that it's all correct, but this action shouldn't mark the request as complete.

Props garrett-eclipse, JoshuaWold, birgire.
Fixes #44644.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r45112 r45148  
    25512551            wp_send_json_error( $mail_success->get_error_message() );
    25522552        }
     2553
     2554        // Update the request to completed state when the export email is sent.
     2555        _wp_privacy_completed_request( $request_id );
    25532556    } else {
    25542557        // Modify the response to include the URL of the export file so the browser can fetch it.
     
    25592562    }
    25602563
    2561     // Update the request to completed state.
    2562     _wp_privacy_completed_request( $request_id );
    2563 
    25642564    return $response;
    25652565}
Note: See TracChangeset for help on using the changeset viewer.