Changeset 43305 for branches/4.9
- Timestamp:
- 05/21/2018 01:15:21 PM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/file.php
r43300 r43305 1804 1804 * @since 4.9.6 1805 1805 * 1806 * @param array 1806 * @param array $group_data { 1807 1807 * The group data to render. 1808 1808 * … … 1866 1866 * @since 4.9.6 1867 1867 * 1868 * @param int $request_idThe export request ID.1868 * @param int $request_id The export request ID. 1869 1869 */ 1870 1870 function wp_privacy_generate_personal_data_export_file( $request_id ) { … … 2030 2030 * @param string $archive_url The URL of the archive file. 2031 2031 * @param string $html_report_pathname The full path to the personal data report on the filesystem. 2032 * @param string$request_id The export request ID.2032 * @param int $request_id The export request ID. 2033 2033 */ 2034 2034 do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id ); … … 2051 2051 * @since 4.9.6 2052 2052 * 2053 * @param int $request_idThe request ID for this personal data export.2054 * @return true|WP_Error 2053 * @param int $request_id The request ID for this personal data export. 2054 * @return true|WP_Error True on success or `WP_Error` on failure. 2055 2055 */ 2056 2056 function wp_privacy_send_personal_data_export_email( $request_id ) { … … 2062 2062 } 2063 2063 2064 /** This filter is documented in wp- admin/includes/file.php */2064 /** This filter is documented in wp-includes/functions.php */ 2065 2065 $expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS ); 2066 2066 $expiration_date = date_i18n( get_option( 'date_format' ), time() + $expiration ); … … 2184 2184 2185 2185 // If we are not yet on the last page of the last exporter, return now. 2186 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 2186 2187 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 2187 2188 $is_last_exporter = $exporter_index === count( $exporters ); … … 2219 2220 update_post_meta( $request_id, '_export_data_grouped', $groups ); 2220 2221 2221 // Generate the export file from the collected, grouped personal data. 2222 /** 2223 * Generate the export file from the collected, grouped personal data. 2224 * 2225 * @since 4.9.6 2226 * 2227 * @param int $request_id The export request ID. 2228 */ 2222 2229 do_action( 'wp_privacy_personal_data_export_file', $request_id ); 2223 2230 -
branches/4.9/src/wp-admin/includes/user.php
r43257 r43305 1381 1381 */ 1382 1382 public function column_email( $item ) { 1383 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1383 1384 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 1384 1385 $exporters_count = count( $exporters ); … … 1421 1422 break; 1422 1423 case 'request-confirmed': 1424 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1423 1425 $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 1424 1426 $exporters_count = count( $exporters ); … … 1493 1495 $status = $item->status; 1494 1496 if ( 'request-confirmed' !== $status ) { 1497 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1495 1498 $erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() ); 1496 1499 $erasers_count = count( $erasers ); … … 1533 1536 break; 1534 1537 case 'request-confirmed': 1538 /** This filter is documented in wp-admin/includes/ajax-actions.php */ 1535 1539 $erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() ); 1536 1540 $erasers_count = count( $erasers );
Note: See TracChangeset
for help on using the changeset viewer.