mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-29 04:28:07 +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. Built from https://develop.svn.wordpress.org/branches/4.9@43209 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
728530718b
commit
4cf2959f1e
@ -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.' );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9.6-beta1-43207';
|
||||
$wp_version = '4.9.6-beta1-43209';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user