In `WP_List_Table::display_rows_or_placeholder()`, the call to `get_column_info()` in unnecessary and unused. The call to `get_column_count()` immediately after makes the same call internally.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28279 git-svn-id: http://core.svn.wordpress.org/trunk@28107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5b63b112f3
commit
ded4871368
|
@ -841,7 +841,6 @@ class WP_List_Table {
|
|||
if ( $this->has_items() ) {
|
||||
$this->display_rows();
|
||||
} else {
|
||||
list( $columns, $hidden ) = $this->get_column_info();
|
||||
echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
|
||||
$this->no_items();
|
||||
echo '</td></tr>';
|
||||
|
|
Loading…
Reference in New Issue