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

See #43895.


Built from https://develop.svn.wordpress.org/trunk@45500


git-svn-id: http://core.svn.wordpress.org/trunk@45311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2019-06-08 00:30:51 +00:00
parent 6a9bcaeaa9
commit 7cee029897
4 changed files with 2 additions and 10 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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
*/

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45499';
$wp_version = '5.3-alpha-45500';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.