mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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
This commit is contained in:
parent
192e235672
commit
530a107ec9
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user