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
This commit is contained in:
Ryan Boren 2013-03-19 03:24:51 +00:00
parent c920cfa3a0
commit 01ca819c6f
1 changed files with 4 additions and 4 deletions

View File

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