Make WordPress Core


Ignore:
Timestamp:
06/24/2015 08:55:05 PM (10 years ago)
Author:
wonderboymusic
Message:

Remove the whois.arin.net link from wp_notify_postauthor() and wp_notify_moderator().
Also, remove from edit-form-comment.php and add a new filter: edit_comment_misc_actions.

Props ozh, joedolson, rachelbaker.
Fixes #15281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r32800 r32929  
    14631463            $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n";
    14641464            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    1465             $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n";
    14661465            $notify_message .= sprintf( __('Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n";
    14671466            $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n";
     
    15941593            $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n";
    15951594            $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    1596             $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n";
    15971595            $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n";
    15981596            break;
Note: See TracChangeset for help on using the changeset viewer.