diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index fcadcf994f..119121a5fe 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -210,7 +210,7 @@ div.postbox div.inside { } #the-comment-list .comment-item { - padding: 1em 10px 1em 70px; + padding: 1em 10px; border-top: 1px solid; } @@ -229,7 +229,7 @@ div.postbox div.inside { #the-comment-list .comment-item .avatar { float: left; - margin-left: -60px; + margin: 0 10px 5px 0; } #the-comment-list .comment-item h4 { @@ -394,3 +394,9 @@ a.rsswidget { margin: 0 0 1.4em; line-height: 1.4em; } + +.dashboard-comment-wrap { + overflow: hidden; + word-wrap: break-word; +} + diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index e0fb26b6a0..4b127a29d1 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -550,6 +550,8 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { comment_type || 'comment' == $comment->comment_type ) : ?> + +
' . get_comment_author_link() . '', $comment_post_link." ".$comment_link, ' ' . __( '[Pending]' ) . '' ); ?>
+$type", $comment_post_link ); ?>
@@ -581,7 +584,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {