From 91879798599273850f01dfbcea1ce1a5c77cad9e Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 13 Nov 2005 02:45:53 +0000 Subject: [PATCH] Moderation and comment_author_link, fixes #1019 git-svn-id: http://svn.automattic.com/wordpress/trunk@3055 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 656378e4d..2d443ad87 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 82098c05d..922ae1fab 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";