From 01ca819c6f300e697a3d92c4086ac900fa759985 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 19 Mar 2013 03:24:51 +0000 Subject: [PATCH] Make the before() and after() methods in Bulk_Plugin_Upgrader_Skin and Bulk_Theme_Upgrader_Skin declarations match Bulk_Upgrader_Skin. Eliminates strict standards warning. Props charlestonsw fixes #23807 git-svn-id: https://develop.svn.wordpress.org/trunk@23749 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-upgrader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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') ); }