Changeset 58082
- Timestamp:
- 05/02/2024 05:18:53 PM (4 months ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
r53952 r58082 24 24 * with info retrieved from the get_plugin_data() function. 25 25 * 26 * @since 3.0.0 26 27 * @var array Plugin data. Values will be empty if not supplied by the plugin. 27 28 */ 28 29 public $plugin_info = array(); 29 30 31 /** 32 * Sets up the strings used in the update process. 33 * 34 * @since 3.0.0 35 */ 30 36 public function add_strings() { 31 37 parent::add_strings(); … … 35 41 36 42 /** 43 * Performs an action before a bulk plugin update. 44 * 45 * @since 3.0.0 46 * 37 47 * @param string $title 38 48 */ … … 42 52 43 53 /** 54 * Performs an action following a bulk plugin update. 55 * 56 * @since 3.0.0 57 * 44 58 * @param string $title 45 59 */ … … 50 64 51 65 /** 66 * Displays the footer following the bulk update process. 67 * 68 * @since 3.0.0 52 69 */ 53 70 public function bulk_footer() { -
trunk/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
r53952 r58082 25 25 * which in turn calls the wp_get_theme() function. 26 26 * 27 * @since 3.0.0 27 28 * @var WP_Theme|false The theme's info object, or false. 28 29 */ 29 30 public $theme_info = false; 30 31 32 /** 33 * Sets up the strings used in the update process. 34 * 35 * @since 3.0.0 36 */ 31 37 public function add_strings() { 32 38 parent::add_strings(); … … 36 42 37 43 /** 44 * Performs an action before a bulk theme update. 45 * 46 * @since 3.0.0 47 * 38 48 * @param string $title 39 49 */ … … 43 53 44 54 /** 55 * Performs an action following a bulk theme update. 56 * 57 * @since 3.0.0 58 * 45 59 * @param string $title 46 60 */ … … 51 65 52 66 /** 67 * Displays the footer following the bulk update process. 68 * 69 * @since 3.0.0 53 70 */ 54 71 public function bulk_footer() { -
trunk/src/wp-admin/includes/class-bulk-upgrader-skin.php
r56599 r58082 17 17 */ 18 18 class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 19 20 /** 21 * Whether the bulk update process has started. 22 * 23 * @since 3.0.0 24 * @var bool 25 */ 19 26 public $in_loop = false; 20 /** 27 28 /** 29 * Stores an error message about the update. 30 * 31 * @since 3.0.0 21 32 * @var string|false 22 33 */ … … 24 35 25 36 /** 37 * Constructor. 38 * 39 * Sets up the generic skin for the Bulk Upgrader classes. 40 * 41 * @since 3.0.0 42 * 26 43 * @param array $args 27 44 */ … … 37 54 38 55 /** 56 * Sets up the strings used in the update process. 57 * 58 * @since 3.0.0 39 59 */ 40 60 public function add_strings() { … … 50 70 51 71 /** 72 * Displays a message about the update. 73 * 74 * @since 3.0.0 52 75 * @since 5.9.0 Renamed `$string` (a PHP reserved keyword) to `$feedback` for PHP 8 named parameter support. 53 76 * … … 78 101 79 102 /** 103 * Displays the header before the update process. 104 * 105 * @since 3.0.0 80 106 */ 81 107 public function header() { … … 84 110 85 111 /** 112 * Displays the footer following the update process. 113 * 114 * @since 3.0.0 86 115 */ 87 116 public function footer() { … … 90 119 91 120 /** 121 * Displays an error message about the update. 122 * 123 * @since 3.0.0 92 124 * @since 5.9.0 Renamed `$error` to `$errors` for PHP 8 named parameter support. 93 125 * … … 114 146 115 147 /** 148 * Displays the header before the bulk update process. 149 * 150 * @since 3.0.0 116 151 */ 117 152 public function bulk_header() { … … 120 155 121 156 /** 157 * Displays the footer following the bulk update process. 158 * 159 * @since 3.0.0 122 160 */ 123 161 public function bulk_footer() { … … 126 164 127 165 /** 166 * Performs an action before a bulk update. 167 * 168 * @since 3.0.0 169 * 128 170 * @param string $title 129 171 */ … … 138 180 139 181 /** 182 * Performs an action following a bulk update. 183 * 184 * @since 3.0.0 185 * 140 186 * @param string $title 141 187 */ … … 173 219 174 220 /** 221 * Resets the properties used in the update process. 222 * 223 * @since 3.0.0 175 224 */ 176 225 public function reset() { … … 180 229 181 230 /** 231 * Flushes all output buffers. 232 * 233 * @since 3.0.0 182 234 */ 183 235 public function flush_output() { -
trunk/src/wp-admin/includes/class-language-pack-upgrader-skin.php
r51782 r58082 23 23 24 24 /** 25 * Constructor. 26 * 27 * Sets up the language pack upgrader skin. 28 * 29 * @since 3.7.0 30 * 25 31 * @param array $args 26 32 */ … … 42 48 43 49 /** 50 * Performs an action before a language pack update. 51 * 52 * @since 3.7.0 44 53 */ 45 54 public function before() { … … 53 62 54 63 /** 64 * Displays an error message about the update. 65 * 66 * @since 3.7.0 55 67 * @since 5.9.0 Renamed `$error` to `$errors` for PHP 8 named parameter support. 56 68 * … … 64 76 65 77 /** 78 * Performs an action following a language pack update. 79 * 80 * @since 3.7.0 66 81 */ 67 82 public function after() { … … 70 85 71 86 /** 87 * Displays the footer following the bulk update process. 88 * 89 * @since 3.7.0 72 90 */ 73 91 public function bulk_footer() { -
trunk/src/wp-admin/includes/class-plugin-installer-skin.php
r57793 r58082 25 25 26 26 /** 27 * Constructor. 28 * 29 * Sets up the plugin installer skin. 30 * 31 * @since 2.8.0 32 * 27 33 * @param array $args 28 34 */ -
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r57793 r58082 25 25 26 26 /** 27 * Constructor. 28 * 29 * Sets up the theme installer skin. 30 * 31 * @since 2.8.0 32 * 27 33 * @param array $args 28 34 */ -
trunk/src/wp-admin/includes/class-wp-upgrader-skin.php
r57148 r58082 21 21 * 22 22 * @since 2.8.0 23 *24 23 * @var WP_Upgrader 25 24 */ … … 30 29 * 31 30 * @since 2.8.0 32 *33 31 * @var bool 34 32 */ … … 39 37 * 40 38 * @since 2.8.0 41 *42 39 * @var bool 43 40 */ … … 48 45 * 49 46 * @since 2.8.0 50 *51 47 * @var string|bool|WP_Error 52 48 */ … … 57 53 * 58 54 * @since 2.8.0 59 *60 55 * @var array 61 56 */ … … 83 78 84 79 /** 80 * Sets the relationship between the skin being used and the upgrader. 81 * 85 82 * @since 2.8.0 86 83 * … … 95 92 96 93 /** 94 * Sets up the strings used in the update process. 95 * 97 96 * @since 3.0.0 98 97 */ … … 142 141 143 142 /** 143 * Displays the header before the update process. 144 * 144 145 * @since 2.8.0 145 146 */ … … 154 155 155 156 /** 157 * Displays the footer following the update process. 158 * 156 159 * @since 2.8.0 157 160 */ … … 165 168 166 169 /** 170 * Displays an error message about the update. 171 * 167 172 * @since 2.8.0 168 173 * … … 187 192 188 193 /** 194 * Displays a message about the update. 195 * 189 196 * @since 2.8.0 190 197 * @since 5.9.0 Renamed `$string` (a PHP reserved keyword) to `$feedback` for PHP 8 named parameter support. … … 219 226 220 227 /** 221 * Performs an daction following an update.228 * Performs an action following an update. 222 229 * 223 230 * @since 2.8.0 … … 263 270 264 271 /** 272 * Displays the header before the bulk update process. 273 * 265 274 * @since 3.0.0 266 275 */ … … 268 277 269 278 /** 279 * Displays the footer following the bulk update process. 280 * 270 281 * @since 3.0.0 271 282 */
Note: See TracChangeset
for help on using the changeset viewer.