Bug Fix Request | Erase Personal information – Issue when erasing data – gpdr
-
Hey there,
There’s a typo in the plugin causing issues, with the personal information request/removal functionality, if we could get this updated that would be great.
Error seen when trying to erase data.
/wp-admin/admin-ajax.php
{"success":false,"data":"Eraser array at index 2 does not include a friendly name."}plugins/oauth2-provider/includes/wo-personal-data-gpdr.php
LINE: 21 – should be updated to:
'eraser_friendly_name' => 'WP OAuth Server Data',Code block:
add_filter( 'wp_privacy_personal_data_erasers', 'wo_register_wo_personal_data_eraser_request', 10 ); function wo_register_wo_personal_data_eraser_request( $erasers ) { $erasers['wo-personal-data-eraser'] = array( 'exporter_friendly_name' => 'WP OAuth Server Data', 'callback' => 'wo_personal_data_erase_function', ); return $erasers; }Thanks,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug Fix Request | Erase Personal information – Issue when erasing data – gpdr’ is closed to new replies.