From 0ecb874ad422812690cfc04a9744f13a7d2ca88e Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 24 Feb 2008 20:42:44 +0000 Subject: [PATCH] Trim long urls. Hide Approve button when listing already Approved comments. git-svn-id: http://svn.automattic.com/wordpress/trunk@7007 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 48d72b53fb..c900fecb6c 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -150,7 +150,9 @@ if ( $page_links ) ?>
+ + @@ -184,13 +186,16 @@ if ($comments) { $author_url = get_comment_author_url(); if ( 'http://' == $author_url ) $author_url = ''; + $author_url_display = $author_url; + if ( strlen($author_url_display) > 50 ) + $author_url_display = substr($author_url_display, 0, 49) . '...'; ?> comment_post_ID) ) { ?>


- - | + + | comment_author_email) ): ?> |