diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index a42ab3fdfd..4f450508de 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -1336,11 +1336,11 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { $this->upgrader->strings['skin_before_update_header'] = __('Updating Plugin %1$s (%2$d/%3$d)'); } - function before() { + function before($title = '') { parent::before($this->plugin_info['Title']); } - function after() { + function after($title = '') { parent::after($this->plugin_info['Title']); } function bulk_footer() { @@ -1370,11 +1370,11 @@ class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { $this->upgrader->strings['skin_before_update_header'] = __('Updating Theme %1$s (%2$d/%3$d)'); } - function before() { + function before($title = '') { parent::before( $this->theme_info->display('Name') ); } - function after() { + function after($title = '') { parent::after( $this->theme_info->display('Name') ); }