WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/17/2018 09:03:33 AM (16 months ago)
Author:
azaozz
Message:

Privacy: Don't replace comment author URL and email with anything.

Props TZ-Media, desrosj, birgire.
Merges [43467] to the 4.9 branch.
Fixes #44141.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/tests/phpunit/tests/comment.php

    r43372 r43468  
    704704     * The `wp_comments_personal_data_eraser()` function should erase user's comments.
    705705     *
     706     * @group privacy
    706707     * @ticket 43442
    707708     */
     
    745746            'user_id'              => '0', // Anonymized.
    746747            'comment_author'       => 'Anonymous', // Anonymized.
    747             'comment_author_email' => 'deleted@site.invalid', // Anonymized.
    748             'comment_author_url'   => 'https://site.invalid', // Anonymized.
     748            'comment_author_email' => '', // Anonymized.
     749            'comment_author_url'   => '', // Anonymized.
    749750            'comment_author_IP'    => '192.168.0.0', // Anonymized.
    750751            'comment_date'         => '2018-04-14 17:20:00',
     
    760761     * Testing the `wp_comments_personal_data_eraser()` function's output on an empty first page.
    761762     *
     763     * @group privacy
    762764     * @ticket 43442
    763765     */
     
    778780     * Testing the `wp_comments_personal_data_eraser()` function's output, for the non-empty first page.
    779781     *
     782     * @group privacy
    780783     * @ticket 43442
    781784     */
     
    809812     * Testing the `wp_comments_personal_data_eraser()` function's output, for an empty second page.
    810813     *
     814     * @group privacy
    811815     * @ticket 43442
    812816     */
     
    840844     * Testing the `wp_anonymize_comment` filter, to prevent comment anonymization.
    841845     *
     846     * @group privacy
    842847     * @ticket 43442
    843848     */
     
    876881     * Testing the `wp_anonymize_comment` filter, to prevent comment anonymization, with a custom message.
    877882     *
     883     * @group privacy
    878884     * @ticket 43442
    879885     */
Note: See TracChangeset for help on using the changeset viewer.