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:
Dion Hulse 2013-11-05 05:47:41 +00:00
parent 58e4a21f07
commit 83754e1636
2 changed files with 0 additions and 8 deletions

View File

@ -136,13 +136,6 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
if ( ! empty($update_actions) )
$this->feedback(implode(' | ', (array)$update_actions));
}
function before() {
if ( $this->upgrader->show_before ) {
echo $this->upgrader->show_before;
$this->upgrader->show_before = '';
}
}
}
/**

View File

@ -408,7 +408,6 @@ class Plugin_Upgrader extends WP_Upgrader {
var $result;
var $bulk = false;
var $show_before = '';
function upgrade_strings() {
$this->strings['up_to_date'] = __('The plugin is at the latest version.');