Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
Built from https://develop.svn.wordpress.org/trunk@26015 git-svn-id: http://core.svn.wordpress.org/trunk@25946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b511346319
commit
38a69e4ccc
|
@ -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 = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.');
|
||||
|
|
Loading…
Reference in New Issue