[wp-trac] [WordPress Trac] #47509: add a filter in wp_user_personal_data_exporter() to make it easier to include additional user meta in a personal data export

WordPress Trac noreply at wordpress.org
Tue Feb 4 09:38:10 UTC 2020


#47509: add a filter in wp_user_personal_data_exporter() to make it easier to
include additional user meta in a personal data export
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  xkon
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.4
Component:  Privacy                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots has-unit-  |     Focuses:
  tests needs-dev-note needs-docs commit         |
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):

 * keywords:
     has-patch 2nd-opinion has-screenshots has-unit-tests needs-dev-note
     needs-docs commit
     =>
     has-patch has-screenshots has-unit-tests needs-dev-note needs-docs
     commit


Comment:

 Thanks @pbiron & @xkon for pushing this along it's looking really good and
 tests well both manually and the unit tests.

 I made some minor changes in
 [https://core.trac.wordpress.org/attachment/ticket/47509/47509.5.diff
 47509.5.diff] as follows;
 1. Changed docblock `@param string[]` to `@param array`
 2. Sentence cased the comments.
 3. Updated the filter name to `wp_privacy_additional_user_profile_data` as
 this includes the data into the User's profile data group. Other meta such
 as Session Tokens and Community Events Location information will get
 dedicated groupings so wanted to be explicit this is for user_profile_data
 and not just user_data in general.

 Marking for commit, feel free to do some additional testing with the
 changed filter name.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47509#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list