mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -844,7 +844,11 @@ class WP_List_Table {
|
||||
extract( $this->_pagination_args );
|
||||
|
||||
ob_start();
|
||||
$this->display_rows_or_placeholder();
|
||||
if ( ! empty( $_REQUEST['no_placeholder'] ) )
|
||||
$this->display_rows();
|
||||
else
|
||||
$this->display_rows_or_placeholder();
|
||||
|
||||
$rows = ob_get_clean();
|
||||
|
||||
$response = array( 'rows' => $rows );
|
||||
|
||||
Reference in New Issue
Block a user