/**
* Plugin info.
*
* The Plugin_Upgrader::bulk_upgrade() method will fill this in
* with info retrieved from the get_plugin_data() function.
*
* @var array Plugin data. Values will be empty if not supplied by the plugin.
*/
public $plugin_info = array
();
public function add_strings() { parent::
add_strings();
/* translators: 1: Plugin name, 2: Number of the plugin, 3: Total number of plugins being updated. */
$this->upgrader->strings
['skin_before_update_header'
] =
__( 'Updating Plugin %1$s (%2$d/%3$d)'
);
} /**
* @param string $title
*/
public function before( $title = ''
) { parent::
before( $this->plugin_info
['Title'
] );
}