Make WordPress Core

Changeset 3055


Ignore:
Timestamp:
11/13/2005 02:45:53 AM (20 years ago)
Author:
matt
Message:

Moderation and comment_author_link, fixes #1019

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/moderation.php

    r2871 r3055  
    142142    echo "\n\t<li id='comment-$comment->comment_ID' $class>";
    143143    ?>
    144             <p><strong><?php _e('Name:') ?></strong> <?php comment_author_link() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
     144    <p><strong><?php _e('Name:') ?></strong> <?php comment_author_link() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a> | <strong><?php _e('Date:') ?></strong> <?php comment_date(); ?></p>
    145145<?php comment_text() ?>
    146146<p><?php
  • trunk/wp-includes/comment-functions.php

    r3031 r3055  
    326326    $author = get_comment_author();
    327327
    328     if ( empty( $url ) )
     328    if ( empty( $url ) || 'http://' == $url )
    329329        $return = $author;
    330330    else
Note: See TracChangeset for help on using the changeset viewer.