WordPress.org

Make WordPress Core

Ticket #24638: 24638-3.diff

File 24638-3.diff, 865 bytes (added by leewillis77, 8 years ago)

Updated patch

  • wp-admin/edit-form-comment.php

     
    9191<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ _ex('Spam', 'adjective'); ?></label>
    9292</div>
    9393
     94<?php $whois_link = sprintf( 'http://whois.arin.net/rest/ip/%s', $comment->comment_author_IP ); ?>
     95
     96<div class="misc-pub-section">
     97        <?php _e('IP address:'); ?> <a href="<?php echo esc_url($whois_link); ?>"><?php echo esc_html($comment->comment_author_IP); ?></a>
     98</div>
     99
    94100<div class="misc-pub-section curtime misc-pub-curtime">
    95101<?php
    96102// translators: Publish box date format, see http://php.net/date