From 6d4bb2c50804e5efca9d32467e65050fa8f74a36 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 9 May 2018 23:17:03 +0000 Subject: [PATCH] Privacy: Pass export request ID to `wp_privacy_personal_data_export_file_created` filter. Props thomasplevy. Fixes #44031. git-svn-id: https://develop.svn.wordpress.org/trunk@43208 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 4bec958b25..9a89114675 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -2168,8 +2168,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.' );