mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Privacy: Pass export request ID to wp_privacy_personal_data_export_file_created
filter.
Props thomasplevy. Merges [43208] to the 4.9 branch. Fixes #44031. git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aa9a70eb53
commit
768e9aebc2
@ -2031,8 +2031,9 @@ function wp_privacy_generate_personal_data_export_file( $request_id ) {
|
||||
* @param string $archive_pathname The full path to the export file on the filesystem.
|
||||
* @param string $archive_url The URL of the archive file.
|
||||
* @param string $html_report_pathname The full path to the personal data report on the filesystem.
|
||||
* @param string $request_id The export request ID.
|
||||
*/
|
||||
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname );
|
||||
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id );
|
||||
}
|
||||
} else {
|
||||
$error = __( 'Unable to open export file (archive) for writing.' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user