From 91ee35610230f5b4d48e606c098bb6bb7fb3bbd9 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 23 Aug 2007 18:04:15 +0000 Subject: [PATCH] Give the view links in post/page listings the view class rather than the edit class, fixes #4058 props rgovostes git-svn-id: https://develop.svn.wordpress.org/trunk@5927 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-post-rows.php | 2 +- wp-admin/includes/template.php | 4 ++-- wp-admin/wp-admin.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-post-rows.php b/wp-admin/edit-post-rows.php index fa610c1b29..9c69ce0631 100644 --- a/wp-admin/edit-post-rows.php +++ b/wp-admin/edit-post-rows.php @@ -78,7 +78,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'control_view': ?> - + post_modified ) _e('Unpublished'); else echo mysql2date( __('Y-m-d g:i a'), $post->post_modified ); ?> - + " . __( 'Edit' ) . ""; } ?> " . __( 'Delete' ) . ""; } ?> @@ -592,4 +592,4 @@ function wp_remember_old_slug() { echo ''; } -?> \ No newline at end of file +?> diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 732950730a..3ece222770 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -103,14 +103,14 @@ thead, .thead { padding: 1em; } -a.edit, a.delete, a.edit:hover, a.delete:hover { +a.view, a.edit, a.delete, a.view:hover, a.edit:hover, a.delete:hover { border-bottom: none; display: block; padding: 5px 0; text-align: center; } -a.edit:hover { +a.view:hover, a.edit:hover { background: #ccc; color: #036; }