Changeset 43303
- Timestamp:
- 05/21/2018 01:02:55 PM (8 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 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 $group_data {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 True on success or `WP_Error` on failure.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 -
trunk/src/wp-admin/includes/user.php
r43256 r43303 1422 1422 */ 1423 1423 public function column_email( $item ) { 1424 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1424 1425 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 1425 1426 $exporters_count = count( $exporters ); … … 1462 1463 break; 1463 1464 case 'request-confirmed': 1465 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1464 1466 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 1465 1467 $exporters_count = count( $exporters ); … … 1534 1536 $status = $item->status; 1535 1537 if ( 'request-confirmed' !== $status ) { 1538 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1536 1539 $erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() ); 1537 1540 $erasers_count = count( $erasers ); … … 1574 1577 break; 1575 1578 case 'request-confirmed': 1579 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1576 1580 $erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() ); 1577 1581 $erasers_count = count( $erasers );
Note: See TracChangeset
for help on using the changeset viewer.