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. git-svn-id: https://develop.svn.wordpress.org/trunk@28388 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fac2faee93
commit
31e187faa3
@ -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