diff --git a/src/wp-admin/includes/class-automatic-upgrader-skin.php b/src/wp-admin/includes/class-automatic-upgrader-skin.php
index 9875c6dee5..32cef43dfb 100644
|
a
|
b
|
|
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | | * Upgrader Skin for Automatic WordPress Upgrades |
| | 11 | * Upgrader Skin for Automatic WordPress Upgrades. |
| 12 | 12 | * |
| 13 | 13 | * This skin is designed to be used when no output is intended, all output |
| 14 | 14 | * is captured and stored for the caller to process and log/email/discard. |
| … |
… |
class Automatic_Upgrader_Skin extends WP_Upgrader_Skin {
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| | 55 | * Gets the messages. |
| | 56 | * |
| 55 | 57 | * @return array |
| 56 | 58 | */ |
| 57 | 59 | public function get_upgrade_messages() { |
| … |
… |
class Automatic_Upgrader_Skin extends WP_Upgrader_Skin {
|
| 59 | 61 | } |
| 60 | 62 | |
| 61 | 63 | /** |
| 62 | | * @param string|array|WP_Error $data |
| | 64 | * Adds feedback about the data to the messages. |
| | 65 | * |
| | 66 | * @param string|array|WP_Error $data The data to give feedback on. |
| 63 | 67 | * @param mixed ...$args Optional text replacements. |
| 64 | 68 | */ |
| 65 | 69 | public function feedback( $data, ...$args ) { |
| … |
… |
class Automatic_Upgrader_Skin extends WP_Upgrader_Skin {
|
| 103 | 107 | } |
| 104 | 108 | |
| 105 | 109 | /** |
| | 110 | * Creates a new output buffer and starts to write to it. |
| 106 | 111 | */ |
| 107 | 112 | public function header() { |
| 108 | 113 | ob_start(); |
| 109 | 114 | } |
| 110 | 115 | |
| 111 | 116 | /** |
| | 117 | * Gets the current buffering contents, deletes the current output buffer, and applies feedback to the output. |
| 112 | 118 | */ |
| 113 | 119 | public function footer() { |
| 114 | 120 | $output = ob_get_clean(); |