From 80e0aebc1267605251aa6fc57929160761650dc5 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 30 Nov 2008 13:17:27 +0000 Subject: [PATCH] Fix Media Library when empty, fixes #8430 git-svn-id: http://svn.automattic.com/wordpress/trunk@9980 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-attachment-rows.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index 53c0673e8f..eb8147fd7e 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -7,7 +7,8 @@ */ if ( ! defined('ABSPATH') ) die(); -?> + +if ( have_posts() ) { ?> @@ -23,7 +24,6 @@ if ( ! defined('ABSPATH') ) die(); $column_display_name ) { } ?> - - - - + + +
+ + +

+ - - +