Make WordPress Core

Ticket #44031: 44031.patch

File 44031.patch, 917 bytes (added by thomasplevy, 7 years ago)

Add $request_id to wp_privacy_personal_data_export_file_created

  • src/wp-admin/includes/file.php

     
    21682168                         * @param string $archive_pathname     The full path to the export file on the filesystem.
    21692169                         * @param string $archive_url          The URL of the archive file.
    21702170                         * @param string $html_report_pathname The full path to the personal data report on the filesystem.
     2171                         * @param string $request_id           The export request ID.
    21712172                         */
    2172                         do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname );
     2173                        do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id );
    21732174                }
    21742175        } else {
    21752176                $error = __( 'Unable to open export file (archive) for writing.' );