[wp-trac] [WordPress Trac] #43970: Add request type to the confirmation confirmation page - GDPR

WordPress Trac noreply at wordpress.org
Wed May 9 03:00:42 UTC 2018


#43970: Add request type to the confirmation confirmation page - GDPR
-----------------------------------+-----------------------------
 Reporter:  garrett-eclipse        |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.9.6
Component:  General                |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  gdpr has-patch commit  |     Focuses:  administration
-----------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:  gdpr needs-patch => gdpr has-patch commit


Comment:

 In [attachment:43970.diff]:

 - Change the notice to read "Action confirmed: Action Name".
 - Bolds "Action confirmed:"

 This uses `wp_user_request_action_description()`, which does have a
 default return value that would not make sense in this context, but that
 condition will never occur because of the `in_array()` check using
 `_wp_privacy_action_request_types()` (which will only return the core
 export and erase action names.

 If `_wp_privacy_action_request_types()` is made filterable in the future
 (or an alternative way to introduce privacy action request types is
 introduced), then the strings in `wp_user_request_action_description()`
 may need to be adjusted.

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


More information about the wp-trac mailing list