[wp-trac] [WordPress Trac] #43438: Export registered user's personal data on request
WordPress Trac
noreply at wordpress.org
Mon Mar 12 16:22:15 UTC 2018
#43438: Export registered user's personal data on request
----------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch | Focuses:
----------------------------+------------------
Comment (by allendav):
Replying to [comment:12 jesperher]:
>
> {{{
> src/wp-admin/includes/ajax-actions.php
> }}}
>
> {{{#!php
> $exporters = apply_filters( 'wp_privacy_personal_data_exporters',
array() );
> }}}
>
>
> This line/filter will be called once pr callback added to it. + once for
counting how big an index we need.
>
> so for each callback, we are calling all plugins and asking witch
callbacks we need. Although the function here is asynchronous, I imagine
it can be a heavy process. is there a way that we can only get the
retrieved callbacks once, instead of n-times?
I don't think the add_filter for each plugin will be heavy - it really
just needs to add its callback and do no other processing. The callback
isn't called when the filter is added. It is not that different from how
custom post types are registered by every plugin on every page load
Does that make sense?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43438#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list