Privacy: Add descriptions for sections in a personal data export file.
Props garrett-eclipse, Venutius, karmatosed. Fixes #45491. Built from https://develop.svn.wordpress.org/trunk@45825 git-svn-id: http://core.svn.wordpress.org/trunk@45636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -3434,10 +3434,11 @@ function wp_comments_personal_data_exporter( $email_address, $page = 1 ) {
|
||||
}
|
||||
|
||||
$data_to_export[] = array(
|
||||
'group_id' => 'comments',
|
||||
'group_label' => __( 'Comments' ),
|
||||
'item_id' => "comment-{$comment->comment_ID}",
|
||||
'data' => $comment_data_to_export,
|
||||
'group_id' => 'comments',
|
||||
'group_label' => __( 'Comments' ),
|
||||
'group_description' => __( 'User’s comment data.' ),
|
||||
'item_id' => "comment-{$comment->comment_ID}",
|
||||
'data' => $comment_data_to_export,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user