--- a/wp/wp-admin/includes/class-bulk-plugin-upgrader-skin.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/includes/class-bulk-plugin-upgrader-skin.php Fri Sep 05 18:40:08 2025 +0200
@@ -16,8 +16,23 @@
* @see Bulk_Upgrader_Skin
*/
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin {
- public $plugin_info = array(); // Plugin_Upgrader::bulk_upgrade() will fill this in.
+ /**
+ * Plugin info.
+ *
+ * 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. */
@@ -25,6 +40,10 @@
}
/**
+ * Performs an action before a bulk plugin update.
+ *
+ * @since 3.0.0
+ *
* @param string $title
*/
public function before( $title = '' ) {
@@ -32,6 +51,10 @@
}
/**
+ * Performs an action following a bulk plugin update.
+ *
+ * @since 3.0.0
+ *
* @param string $title
*/
public function after( $title = '' ) {
@@ -40,6 +63,9 @@
}
/**
+ * Displays the footer following the bulk update process.
+ *
+ * @since 3.0.0
*/
public function bulk_footer() {
parent::bulk_footer();