[wp-trac] [WordPress Trac] #43442: Add tools for anonymizing of commenters

WordPress Trac noreply at wordpress.org
Fri Apr 20 01:31:01 UTC 2018


#43442: Add tools for anonymizing of commenters
------------------------------------------+-----------------------
 Reporter:  azaozz                        |       Owner:  allendav
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  5.0
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  gdpr has-patch needs-testing  |     Focuses:
------------------------------------------+-----------------------

Comment (by birgire):

 I like the idea in [attachment:43442.5.diff] to provide the user with a
 link to manually handle comments with anonymization errors.

 [attachment:43442.6.diff] additionally:

 - Adds a docblock for the {{{wp_anonymize_comment}}} filter
 - Adjusts two strings to make them translatable
 - Adds translators comments.
 - Adds accessibility text for the {{{_blank}}} link.
 - Adds {{{external-link}}} class for {{{_blank}}} link.
 - Adds an escape for {{{$edit_url}}}.
 - Changes {{{Ah error}}} to {{{An error}}} in a string.
 - Changes {{{$result}}} to {{{$updated}}}.
 - Adds a test for the`wp_anonymize_comment` filter, to prevent comment
 anonymization.
 - Adds a test for the`wp_anonymize_comment` filter, to prevent comment
 anonymization, with a custom message.

 ps: I wonder if we should rename {{{$num_items_removed}}} to
 {{{$num_items_erased}}} in general?

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


More information about the wp-trac mailing list