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
This commit is contained in:
parent
3e539e8448
commit
be305cb6f9
|
@ -234,7 +234,10 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated'
|
|||
|
||||
</form>
|
||||
|
||||
<?php $wp_list_table->inline_edit(); ?>
|
||||
<?php
|
||||
if ( $wp_list_table->has_items() )
|
||||
$wp_list_table->inline_edit();
|
||||
?>
|
||||
|
||||
<div id="ajax-response"></div>
|
||||
<br class="clear" />
|
||||
|
|
Loading…
Reference in New Issue