Privacy tools: remove some left-over code and fix inline comment.
See #43895. git-svn-id: https://develop.svn.wordpress.org/trunk@45500 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
226dc75154
commit
0af549fdf5
@ -13,10 +13,6 @@ if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( '
|
||||
wp_die( __( 'Sorry, you are not allowed to erase data on this site.' ) );
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'WP_Privacy_Data_Removal_Requests_Table' ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-table.php' );
|
||||
}
|
||||
|
||||
// Handle list table actions.
|
||||
_wp_personal_data_handle_actions();
|
||||
|
||||
|
@ -13,10 +13,6 @@ if ( ! current_user_can( 'export_others_personal_data' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to export personal data on this site.' ) );
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'WP_Privacy_Data_Export_Requests_Table' ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-table.php' );
|
||||
}
|
||||
|
||||
// Handle list table actions.
|
||||
_wp_personal_data_handle_actions();
|
||||
|
||||
|
@ -12,7 +12,7 @@ if ( ! class_exists( 'WP_Privacy_Requests_Table' ) ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* WP_Privacy_Data_Removal_Requests_Table class.
|
||||
* WP_Privacy_Data_Removal_Requests_List_Table class.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user