X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9c40b4d36daed9e28e48a5fe9205c32557195a4b..4f4e083f6f77639c41e2b1ddb200de8e34301cee:/wp-admin/edit-form-comment.php?ds=inline diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 022c3901..f5865783 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -13,6 +13,7 @@ $submitbutton_text = __('Edit Comment'); $toprow_title = sprintf(__('Editing Comment # %s'), $comment->comment_ID); $form_action = 'editedcomment'; $form_extra = "' />\n\n\n' /> -comment_author_email ); -$url = esc_attr( $comment->comment_author_url ); -// add_meta_box('submitdiv', __('Save'), 'comment_submit_meta_box', 'comment', 'side', 'core'); -?>
@@ -95,20 +90,19 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); comment_author_email ) { printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); } else { _e( 'E-mail:' ); } ?> - + " . __('visit site') . ""; + if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { + $link = '' . __('visit site') . ''; printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); } else { _e( 'URL:' );