From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/includes/class-bulk-plugin-upgrader-skin.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'wp-admin/includes/class-bulk-plugin-upgrader-skin.php') diff --git a/wp-admin/includes/class-bulk-plugin-upgrader-skin.php b/wp-admin/includes/class-bulk-plugin-upgrader-skin.php index 7cbf334..bb62928 100644 --- a/wp-admin/includes/class-bulk-plugin-upgrader-skin.php +++ b/wp-admin/includes/class-bulk-plugin-upgrader-skin.php @@ -23,10 +23,16 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { * The Plugin_Upgrader::bulk_upgrade() method will fill this in * with info retrieved from the get_plugin_data() function. * + * @since 3.0.0 * @var array Plugin data. Values will be empty if not supplied by the plugin. */ public $plugin_info = array(); + /** + * Sets up the strings used in the update process. + * + * @since 3.0.0 + */ public function add_strings() { parent::add_strings(); /* translators: 1: Plugin name, 2: Number of the plugin, 3: Total number of plugins being updated. */ @@ -34,6 +40,10 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { } /** + * Performs an action before a bulk plugin update. + * + * @since 3.0.0 + * * @param string $title */ public function before( $title = '' ) { @@ -41,6 +51,10 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { } /** + * Performs an action following a bulk plugin update. + * + * @since 3.0.0 + * * @param string $title */ public function after( $title = '' ) { @@ -49,6 +63,9 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { } /** + * Displays the footer following the bulk update process. + * + * @since 3.0.0 */ public function bulk_footer() { parent::bulk_footer(); -- cgit v1.2.3