From 530a107ec99072f561fb58b15311f93e71abcbc3 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 13 May 2014 05:17:14 +0000 Subject: [PATCH] Eliminate use of `extract()` in `WP_Plugin_Install_List_Table::get_table_classes()`. It only needs to read `plural`, no need to extract. See #22400. Built from https://develop.svn.wordpress.org/trunk@28388 git-svn-id: http://core.svn.wordpress.org/trunk@28216 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 868c08caa3..fb92084761 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -175,9 +175,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } function get_table_classes() { - extract( $this->_args ); - - return array( 'widefat', $plural ); + return array( 'widefat', $this->_args['plural'] ); } function get_columns() {