mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 12:50:18 +01:00
Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356.
git-svn-id: http://core.svn.wordpress.org/trunk@24409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5642a56311
commit
115866d483
@ -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