From 555937dc43bd7b852533690ae7512264e2054436 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 05:31:07 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@28279 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 3aa066d8af..f7f84bd40d 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -841,7 +841,6 @@ class WP_List_Table { if ( $this->has_items() ) { $this->display_rows(); } else { - list( $columns, $hidden ) = $this->get_column_info(); echo ''; $this->no_items(); echo '';