summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes/class-wp-upgrader-skin.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-admin/includes/class-wp-upgrader-skin.php
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-upstream/6.6.1+dfsg1.tar.xz
wordpress-upstream/6.6.1+dfsg1.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-admin/includes/class-wp-upgrader-skin.php')
-rw-r--r--wp-admin/includes/class-wp-upgrader-skin.php23
1 files changed, 17 insertions, 6 deletions
diff --git a/wp-admin/includes/class-wp-upgrader-skin.php b/wp-admin/includes/class-wp-upgrader-skin.php
index 83b4ba4..a5c80fa 100644
--- a/wp-admin/includes/class-wp-upgrader-skin.php
+++ b/wp-admin/includes/class-wp-upgrader-skin.php
@@ -20,7 +20,6 @@ class WP_Upgrader_Skin {
* Holds the upgrader data.
*
* @since 2.8.0
- *
* @var WP_Upgrader
*/
public $upgrader;
@@ -29,7 +28,6 @@ class WP_Upgrader_Skin {
* Whether header is done.
*
* @since 2.8.0
- *
* @var bool
*/
public $done_header = false;
@@ -38,7 +36,6 @@ class WP_Upgrader_Skin {
* Whether footer is done.
*
* @since 2.8.0
- *
* @var bool
*/
public $done_footer = false;
@@ -47,7 +44,6 @@ class WP_Upgrader_Skin {
* Holds the result of an upgrade.
*
* @since 2.8.0
- *
* @var string|bool|WP_Error
*/
public $result = false;
@@ -56,7 +52,6 @@ class WP_Upgrader_Skin {
* Holds the options of an upgrade.
*
* @since 2.8.0
- *
* @var array
*/
public $options = array();
@@ -82,6 +77,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Sets the relationship between the skin being used and the upgrader.
+ *
* @since 2.8.0
*
* @param WP_Upgrader $upgrader
@@ -94,6 +91,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Sets up the strings used in the update process.
+ *
* @since 3.0.0
*/
public function add_strings() {
@@ -141,6 +140,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Displays the header before the update process.
+ *
* @since 2.8.0
*/
public function header() {
@@ -153,6 +154,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Displays the footer following the update process.
+ *
* @since 2.8.0
*/
public function footer() {
@@ -164,6 +167,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Displays an error message about the update.
+ *
* @since 2.8.0
*
* @param string|WP_Error $errors Errors.
@@ -186,6 +191,8 @@ class WP_Upgrader_Skin {
}
/**
+ * Displays a message about the update.
+ *
* @since 2.8.0
* @since 5.9.0 Renamed `$string` (a PHP reserved keyword) to `$feedback` for PHP 8 named parameter support.
*
@@ -218,7 +225,7 @@ class WP_Upgrader_Skin {
public function before() {}
/**
- * Performs and action following an update.
+ * Performs an action following an update.
*
* @since 2.8.0
*/
@@ -262,11 +269,15 @@ class WP_Upgrader_Skin {
}
/**
+ * Displays the header before the bulk update process.
+ *
* @since 3.0.0
*/
public function bulk_header() {}
/**
+ * Displays the footer following the bulk update process.
+ *
* @since 3.0.0
*/
public function bulk_footer() {}