Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24409 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2860f4769e
commit
6d1975e335
@ -362,7 +362,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
||||
* @uses $tab Global; current tab within Themes->Install screen
|
||||
* @uses $type Global; type of search.
|
||||
*/
|
||||
function _js_vars() {
|
||||
function _js_vars( $extra_args = array() ) {
|
||||
global $tab, $type;
|
||||
parent::_js_vars( compact( 'tab', 'type' ) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user