From c844b43f0e2699c74dfb514688856718f5305b7c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 18 Mar 2008 02:22:07 +0000 Subject: [PATCH] Add title attribute to view post link. see #6082 git-svn-id: https://develop.svn.wordpress.org/trunk@7373 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-post-rows.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/edit-post-rows.php b/wp-admin/edit-post-rows.php index fe35557deb..1fce4fe365 100644 --- a/wp-admin/edit-post-rows.php +++ b/wp-admin/edit-post-rows.php @@ -26,6 +26,9 @@ while (have_posts()) : the_post(); $class = 'alternate' == $class ? '' : 'alternate'; global $current_user; $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); +$title = get_the_title(); +if ( empty($title) ) + $title = __('(no title)'); ?> post_status ); ?>' valign="top"> @@ -68,9 +71,6 @@ foreach($posts_columns as $column_name=>$column_display_name) { "> post_status) _e(' — Private'); ?> @@ -134,7 +134,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'status': ?> - + " rel="permalink"> post_status ) { case 'publish' :