WordPress.org

Make WordPress Core

Changeset 45500


Ignore:
Timestamp:
06/08/2019 12:29:59 AM (4 months ago)
Author:
azaozz
Message:

Privacy tools: remove some left-over code and fix inline comment.

See #43895.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/erase-personal-data.php

    r45448 r45500  
    1212if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( 'delete_users' ) ) {
    1313    wp_die( __( 'Sorry, you are not allowed to erase data on this site.' ) );
    14 }
    15 
    16 if ( ! class_exists( 'WP_Privacy_Data_Removal_Requests_Table' ) ) {
    17     require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-table.php' );
    1814}
    1915
  • trunk/src/wp-admin/export-personal-data.php

    r45448 r45500  
    1212if ( ! current_user_can( 'export_others_personal_data' ) ) {
    1313    wp_die( __( 'Sorry, you are not allowed to export personal data on this site.' ) );
    14 }
    15 
    16 if ( ! class_exists( 'WP_Privacy_Data_Export_Requests_Table' ) ) {
    17     require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-table.php' );
    1814}
    1915
  • trunk/src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php

    r45490 r45500  
    1313
    1414/**
    15  * WP_Privacy_Data_Removal_Requests_Table class.
     15 * WP_Privacy_Data_Removal_Requests_List_Table class.
    1616 *
    1717 * @since 4.9.6
Note: See TracChangeset for help on using the changeset viewer.