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/src/wp-includes/comment.php

    r43245 r43467  
    34413441    );
    34423442
     3443    /* translators: Name of a comment's author after being anonymized. */
    34433444    $anon_author = __( 'Anonymous' );
    34443445    $messages    = array();
     
    34483449        $anonymized_comment['comment_agent']        = '';
    34493450        $anonymized_comment['comment_author']       = $anon_author;
    3450         $anonymized_comment['comment_author_email'] = wp_privacy_anonymize_data( 'email', $comment->comment_author_email );
     3451        $anonymized_comment['comment_author_email'] = '';
    34513452        $anonymized_comment['comment_author_IP']    = wp_privacy_anonymize_data( 'ip', $comment->comment_author_IP );
    3452         $anonymized_comment['comment_author_url']   = wp_privacy_anonymize_data( 'url', $comment->comment_author_url );
     3453        $anonymized_comment['comment_author_url']   = '';
    34533454        $anonymized_comment['user_id']              = 0;
    34543455
Note: See TracChangeset for help on using the changeset viewer.