From e81c5815bd6b5dd29a93a00d52e3ad03d8c4ee65 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 25 Nov 2008 21:11:05 +0000 Subject: [PATCH] Comment screen tweaks. see #8344 git-svn-id: https://develop.svn.wordpress.org/trunk@9879 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-fresh.css | 2 +- wp-admin/edit-form-advanced.php | 3 +-- wp-admin/includes/template.php | 16 ++++++++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index cbfa479104..cd64b461ee 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -553,7 +553,7 @@ li.widget-list-control-item h4, background-color: #fffbcc; } -#edit-slug-box strong, .tablenav .displaying-num { +#edit-slug-box strong, .tablenav .displaying-num, #submitted-on { color: #777; } diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index e3a24253be..fca41086ae 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -425,9 +425,8 @@ wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); - - + diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 6f7c14ac42..d16276a0ce 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -764,9 +764,9 @@ function get_column_headers($page) { case 'edit-comments': $_wp_column_headers[$page] = array( 'cb' => '', - 'comment' => _c('Comment|noun'), 'author' => __('Author'), - 'date' => __('Submitted'), + 'comment' => _c('Comment|noun'), + //'date' => __('Submitted'), 'response' => __('In Response To') ); @@ -1924,9 +1924,11 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, $the_comment_status = wp_get_comment_status($comment->comment_ID); if ( current_user_can( 'edit_post', $post->ID ) ) { - $post_link = ""; + $post_href = get_edit_post_link($post->ID); + $post_link = ""; $post_link .= get_the_title($comment->comment_post_ID) . ''; } else { + $post_href = ''; $post_link = get_the_title($comment->comment_post_ID); } @@ -1969,7 +1971,13 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, break; case 'comment': echo "