• Resolved smithmot3

    (@smithmot3)


    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,

    • This topic was modified 4 years, 10 months ago by smithmot3.
    • This topic was modified 4 years, 10 months ago by smithmot3.
    • This topic was modified 4 years, 10 months ago by smithmot3.
Viewing 1 replies (of 1 total)
  • Plugin Author Justin Greer

    (@justingreerbbi)

    Thanks for the feedback. This will be addressed in the next release. Be on the lookout in about a week.

    Thanks again

Viewing 1 replies (of 1 total)

The topic ‘Bug Fix Request | Erase Personal information – Issue when erasing data – gpdr’ is closed to new replies.