From be305cb6f93f1d4280dcb610f688ee5a92ba6ccb Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 2 Dec 2010 08:09:58 +0000 Subject: [PATCH] If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down. git-svn-id: http://svn.automattic.com/wordpress/trunk@16685 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 6fea2dc9b..f5e47b5c0 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -234,7 +234,10 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated' -inline_edit(); ?> +has_items() ) + $wp_list_table->inline_edit(); +?>