From 60a7e5973cea7c64077e2ecc8f2be42ba304994e Mon Sep 17 00:00:00 2001 From: Peter Westwood 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: https://develop.svn.wordpress.org/trunk@16685 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6fea2dc9b8..f5e47b5c0d 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(); +?>