WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/27/2018 07:53:37 PM (2 years ago)
Author:
azaozz
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.
See #43546.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/admin-filters.php

    r43008 r43012  
    133133add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
    134134
     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 );
     138
    135139// Privacy policy text changes check.
    136140add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'text_change_check' ), 20 );
     
    144148// Stop checking for text changes after the policy page is updated.
    145149add_action( 'post_updated', array( 'WP_Privacy_Policy_Content', '_policy_page_updated' ) );
    146 
Note: See TracChangeset for help on using the changeset viewer.