From ded487136851e8fd5dd9cd01ebd8c122cef46812 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 05:32:15 +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. Built from https://develop.svn.wordpress.org/trunk@28279 git-svn-id: http://core.svn.wordpress.org/trunk@28107 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-list-table.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 3aa066d8af..f7f84bd40d 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/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 '';