diff --git a/wp-admin/includes/class-wp-upgrader-skins.php b/wp-admin/includes/class-wp-upgrader-skins.php index 1220772752..e6e219c8aa 100644 --- a/wp-admin/includes/class-wp-upgrader-skins.php +++ b/wp-admin/includes/class-wp-upgrader-skins.php @@ -104,13 +104,22 @@ class WP_Upgrader_Skin { if ( ! $this->result || is_wp_error( $this->result ) || 'up_to_date' === $this->result ) { return; } - echo ''; + '; + } else { + echo ''; + } } } @@ -284,25 +293,6 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { wp_ob_end_flush_all(); flush(); } - - /** - * Output JavaScript that sends message to parent window to decrement the update counts. - * - * @since 3.9.0 - * - * @param string $type Type of update count to decrement. Likely values include 'plugin', - * 'theme', 'translation', etc. - */ - protected function decrement_update_count( $type ) { - if ( ! $this->result || is_wp_error( $this->result ) || 'up_to_date' === $this->result ) { - return; - } - echo ''; - } } class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin {