Make WordPress Core

Ticket #10863: avatar-nonce.diff

File avatar-nonce.diff, 658 bytes (added by thecodepro, 15 years ago)

Same as before, but using the NONCE key to obsucre the IP from rainbow reading

  • wp-includes/pluggable.php

     
    15601560                                $email = $user->user_email;
    15611561                } elseif ( !empty($id_or_email->comment_author_email) ) {
    15621562                        $email = $id_or_email->comment_author_email;
     1563                } elseif ( !empty($id_or_email->comment_author_IP) ) {
     1564                        $email = NONCE_KEY.$id_or_email->comment_author_IP;
    15631565                }
    15641566        } else {
    15651567                $email = $id_or_email;