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
This commit is contained in:
Peter Westwood 2010-12-02 08:09:58 +00:00
parent a2a3977b3c
commit 60a7e5973c

View File

@ -234,7 +234,10 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated'
</form> </form>
<?php $wp_list_table->inline_edit(); ?> <?php
if ( $wp_list_table->has_items() )
$wp_list_table->inline_edit();
?>
<div id="ajax-response"></div> <div id="ajax-response"></div>
<br class="clear" /> <br class="clear" />