Changeset 59159 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 10/03/2024 12:23:53 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r57658 r59159 275 275 * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional. 276 276 * 277 * @global string $wp_version The WordPress version string.278 *279 277 * @param string[] $plugins Array of paths to plugin files relative to the plugins directory. 280 278 * @param array $args { … … 286 284 */ 287 285 public function bulk_upgrade( $plugins, $args = array() ) { 288 global $wp_version;286 $wp_version = wp_get_wp_version(); 289 287 290 288 $defaults = array( … … 458 456 * 459 457 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 460 * @global string $wp_version The WordPress version string.461 458 * 462 459 * @param string $source The path to the downloaded package source. … … 464 461 */ 465 462 public function check_package( $source ) { 466 global $wp_filesystem, $wp_version; 467 463 global $wp_filesystem; 464 465 $wp_version = wp_get_wp_version(); 468 466 $this->new_plugin_data = array(); 469 467
Note: See TracChangeset
for help on using the changeset viewer.