Changes between Initial Version and Version 1 of Ticket #44078
- Timestamp:
- 05/14/2018 06:17:35 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44078 – Description
initial v1 1 1 In addition to the existing behavior of wp_privacy_anonymize_data( 'email', $email_address) which returns deleted@site.invalid, it would be useful, e.g. for debug logging to have another type that would return pseudonymized email addresses that retain a little bit of the original address, e.g. 2 2 3 my-mailbox@mailprovider.com.ca could be come m*********@****************.ca 3 {{{#!php 4 my-mailbox@mailprovider.com.ca 5 }}} 6 7 could become something like 8 9 {{{#!php 10 m*********@****************.ca 11 }}} 12 4 13 5 14 Where the number of * corresponds to the letters removed, and only the first letter of the email address and the TLD are retained.