From 6219f706e7d986b07e6554fb1995188ca6c8ee21 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 18 Mar 2008 02:22:07 +0000 Subject: [PATCH] Add title attribute to view post link. see #6082 git-svn-id: http://svn.automattic.com/wordpress/trunk@7373 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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' :