From 4c3d64d83369a786531107f837b2ca3451848ea5 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 7 May 2008 20:34:03 +0000 Subject: WP Merge with 2.5.1 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1275 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/edit-attachment-rows.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'wp-admin/edit-attachment-rows.php') diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index 407436b..78361e3 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -26,6 +26,10 @@ while (have_posts()) : the_post(); $class = 'alternate' == $class ? '' : 'alternate'; global $current_user; $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); +$att_title = get_the_title(); +if ( empty($att_title) ) + $att_title = __('(no title)'); + ?> post_status ); ?>' valign="top"> @@ -50,7 +54,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'media': ?> - ">
+ ">
ID))); ?> ID); ?> -- cgit