From dd35ddfe28e0ffc2913a7144b51c681420347eb2 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 13 Nov 2005 02:45:53 +0000 Subject: [PATCH] Moderation and comment_author_link, fixes #1019 git-svn-id: https://develop.svn.wordpress.org/trunk@3055 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/moderation.php | 2 +- wp-includes/comment-functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 656378e4dd..2d443ad87e 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -141,7 +141,7 @@ $i = 0; else $class = ''; echo "\n\t
  • "; ?> -

    comment_author_email) { ?>| comment_author_email) { ?> | |

    +

    comment_author_email) { ?>| comment_author_url && 'http://' != $comment->comment_author_url) { ?> | | |

    comment_ID.'">' . __('Edit') . ' | ';?> diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 82098c05d0..922ae1fabf 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -325,7 +325,7 @@ function get_comment_author_link() { $url = get_comment_author_url(); $author = get_comment_author(); - if ( empty( $url ) ) + if ( empty( $url ) || 'http://' == $url ) $return = $author; else $return = "$author";