Make WordPress Core

Changeset 5903


Ignore:
Timestamp:
08/20/2007 07:00:29 AM (17 years ago)
Author:
matt
Message:

Change IPs to link to local search instead of cryptic ARIN info

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r5836 r5903  
    162162    <td><?php comment_author_link() ?></td>
    163163    <td><?php comment_author_email_link() ?></td>
    164     <td><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></td>
     164    <td><a href="edit-comments.php?s=<?php comment_author_IP() ?>&amp;mode=edit"><?php comment_author_IP() ?></a></td>
    165165    <td><?php comment_excerpt(); ?></td>
    166166    <td>
  • trunk/wp-admin/edit.php

    r5751 r5903  
    194194            echo "<li id='comment-$comment->comment_ID' class='$class'>";
    195195?>
    196 <p><strong><?php comment_author() ?></strong> <?php if ($comment->comment_author_email) { ?>| <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url) { ?> | <?php comment_author_url_link() ?> <?php } ?>| <?php _e('IP:') ?> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
     196<p><strong><?php comment_author() ?></strong> <?php if ($comment->comment_author_email) { ?>| <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url) { ?> | <?php comment_author_url_link() ?> <?php } ?>| <?php _e('IP:') ?> <a href="edit-comments.php?s=<?php comment_author_IP() ?>&amp;mode=edit"><?php comment_author_IP() ?></a></p>
    197197
    198198<?php comment_text() ?>
Note: See TracChangeset for help on using the changeset viewer.