[wp-trac] [WordPress Trac] #44676: Support comma-seperated list for Privacy Requests

WordPress Trac noreply at wordpress.org
Thu Oct 11 07:18:10 UTC 2018


#44676: Support comma-seperated list for Privacy Requests
-------------------------------------------------+-------------------------
 Reporter:  garrett-eclipse                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Privacy                              |     Version:  4.9.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:  privacy
  testing ux-feedback                            |
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):

 * keywords:  has-screenshots => has-screenshots has-patch needs-testing ux-
     feedback


Comment:

 Added initial patch w/ 44676.diff

 This introduces the ability to supply a comma-delimited list to the
 Privacy tools to generate multiple requests.

 Introduces $count & $failure_count to track success/failures to be output
 via notices.

 Placed $action_type check prior to the loop and added breaks to avoid
 execution.

 Split the incoming request string by the comma delimiter and ran foreach
 on results.

 Introduced check on wp_create_user_request and wp_send_user_request.

 Provided two notices with plurals for success and failure counts.

 Updated verbiage on request forms to remove part about ' at this email
 address ' as it's not true when a user is supplied. Without reads more
 concisely - 'An email will be sent to the user asking them to verify the
 request.'

 Added verbiage to request forms to indicate comma-delimited lists are now
 supported - 'To trigger multiple requests supply the usernames or email
 addresses in a comma-delimited list.'

 Please review and test.

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


More information about the wp-trac mailing list