Changeset 43303 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 05/21/2018 01:02:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r43299 r43303 1941 1941 * @since 4.9.6 1942 1942 * 1943 * @param array 1943 * @param array $group_data { 1944 1944 * The group data to render. 1945 1945 * … … 2003 2003 * @since 4.9.6 2004 2004 * 2005 * @param int $request_idThe export request ID.2005 * @param int $request_id The export request ID. 2006 2006 */ 2007 2007 function wp_privacy_generate_personal_data_export_file( $request_id ) { … … 2167 2167 * @param string $archive_url The URL of the archive file. 2168 2168 * @param string $html_report_pathname The full path to the personal data report on the filesystem. 2169 * @param string$request_id The export request ID.2169 * @param int $request_id The export request ID. 2170 2170 */ 2171 2171 do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id ); … … 2188 2188 * @since 4.9.6 2189 2189 * 2190 * @param int $request_idThe request ID for this personal data export.2191 * @return true|WP_Error 2190 * @param int $request_id The request ID for this personal data export. 2191 * @return true|WP_Error True on success or `WP_Error` on failure. 2192 2192 */ 2193 2193 function wp_privacy_send_personal_data_export_email( $request_id ) { … … 2199 2199 } 2200 2200 2201 /** This filter is documented in wp- admin/includes/file.php */2201 /** This filter is documented in wp-includes/functions.php */ 2202 2202 $expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS ); 2203 2203 $expiration_date = date_i18n( get_option( 'date_format' ), time() + $expiration ); … … 2321 2321 2322 2322 // If we are not yet on the last page of the last exporter, return now. 2323 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 2323 2324 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 2324 2325 $is_last_exporter = $exporter_index === count( $exporters ); … … 2356 2357 update_post_meta( $request_id, '_export_data_grouped', $groups ); 2357 2358 2358 // Generate the export file from the collected, grouped personal data. 2359 /** 2360 * Generate the export file from the collected, grouped personal data. 2361 * 2362 * @since 4.9.6 2363 * 2364 * @param int $request_id The export request ID. 2365 */ 2359 2366 do_action( 'wp_privacy_personal_data_export_file', $request_id ); 2360 2367
Note: See TracChangeset
for help on using the changeset viewer.