Privacy: Improve clarity of privacy error strings.

Primarily this adds "user privacy" to the strings for privacy requests, so they are more easily distinguished from other system actions within logs.

Props garrett-eclipse, carike, birgire.
Fixes #51351.

git-svn-id: https://develop.svn.wordpress.org/trunk@49090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-10-04 03:21:38 +00:00
parent 64e937d66c
commit c8ed3ebb30
7 changed files with 38 additions and 47 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
require_once __DIR__ . '/admin.php';
if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( 'delete_users' ) ) {
wp_die( __( 'Sorry, you are not allowed to erase data on this site.' ) );
wp_die( __( 'Sorry, you are not allowed to erase personal data on this site.' ) );
}
// Handle list table actions.