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:
Sergey Biryukov 2013-06-05 16:51:07 +00:00
parent 2860f4769e
commit 6d1975e335
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) );
}