[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
Sat Jan 25 20:50:27 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 2nd-opinion has-           |     Focuses:
  screenshots has-unit-tests needs-dev-note      |
  needs-docs commit                              |
-------------------------------------------------+-------------------------

Comment (by pbiron):

 [https://core.trac.wordpress.org/attachment/ticket/47509/45709.4.diff
 45709.4.diff] improves the unit test:

 1. improves the check for the additional data added by the callback
 2. hooks a 2nd callback that should generate the `_doing_it_wrong()` and
 checks that dup `name` is correctly stripped in that case

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


More information about the wp-trac mailing list