Make WordPress Core


Ignore:
Timestamp:
05/02/2018 02:15:05 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Privacy: add means to export personal data by username or email address. Generate a zipped export file containing all data. First run.

Props allendav.
Merges [43012] and [43089] to the 4.9 branch.
See #43546.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/admin-filters.php

    r43083 r43092  
    132132add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
    133133add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
     134
     135// Privacy hooks
     136add_filter( 'wp_privacy_personal_data_export_page', 'wp_privacy_process_personal_data_export_page', 10, 6 );
     137add_action( 'wp_privacy_personal_data_export_file', 'wp_privacy_generate_personal_data_export_file', 10 );
Note: See TracChangeset for help on using the changeset viewer.