Make WordPress Core


Ignore:
Timestamp:
07/17/2018 08:59:30 AM (4 years ago)
Author:
azaozz
Message:

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

Props TZ-Media, desrosj, birgire.
Fixes #44141.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment.php

    r43371 r43467  
    816816     * The `wp_comments_personal_data_eraser()` function should erase user's comments.
    817817     *
     818     * @group privacy
    818819     * @ticket 43442
    819820     */
     
    857858            'user_id'              => '0', // Anonymized.
    858859            'comment_author'       => 'Anonymous', // Anonymized.
    859             'comment_author_email' => 'deleted@site.invalid', // Anonymized.
    860             'comment_author_url'   => 'https://site.invalid', // Anonymized.
     860            'comment_author_email' => '', // Anonymized.
     861            'comment_author_url'   => '', // Anonymized.
    861862            'comment_author_IP'    => '192.168.0.0', // Anonymized.
    862863            'comment_date'         => '2018-04-14 17:20:00',
     
    872873     * Testing the `wp_comments_personal_data_eraser()` function's output on an empty first page.
    873874     *
     875     * @group privacy
    874876     * @ticket 43442
    875877     */
     
    890892     * Testing the `wp_comments_personal_data_eraser()` function's output, for the non-empty first page.
    891893     *
     894     * @group privacy
    892895     * @ticket 43442
    893896     */
     
    921924     * Testing the `wp_comments_personal_data_eraser()` function's output, for an empty second page.
    922925     *
     926     * @group privacy
    923927     * @ticket 43442
    924928     */
     
    952956     * Testing the `wp_anonymize_comment` filter, to prevent comment anonymization.
    953957     *
     958     * @group privacy
    954959     * @ticket 43442
    955960     */
     
    988993     * Testing the `wp_anonymize_comment` filter, to prevent comment anonymization, with a custom message.
    989994     *
     995     * @group privacy
    990996     * @ticket 43442
    991997     */
Note: See TracChangeset for help on using the changeset viewer.