Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
git-svn-id: https://develop.svn.wordpress.org/trunk@26015 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
58e4a21f07
commit
83754e1636
@ -136,13 +136,6 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
|
|||||||
if ( ! empty($update_actions) )
|
if ( ! empty($update_actions) )
|
||||||
$this->feedback(implode(' | ', (array)$update_actions));
|
$this->feedback(implode(' | ', (array)$update_actions));
|
||||||
}
|
}
|
||||||
|
|
||||||
function before() {
|
|
||||||
if ( $this->upgrader->show_before ) {
|
|
||||||
echo $this->upgrader->show_before;
|
|
||||||
$this->upgrader->show_before = '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -408,7 +408,6 @@ class Plugin_Upgrader extends WP_Upgrader {
|
|||||||
|
|
||||||
var $result;
|
var $result;
|
||||||
var $bulk = false;
|
var $bulk = false;
|
||||||
var $show_before = '';
|
|
||||||
|
|
||||||
function upgrade_strings() {
|
function upgrade_strings() {
|
||||||
$this->strings['up_to_date'] = __('The plugin is at the latest version.');
|
$this->strings['up_to_date'] = __('The plugin is at the latest version.');
|
||||||
|
Loading…
Reference in New Issue
Block a user