Changeset 59159 for trunk/src/wp-admin/includes/class-theme-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-theme-upgrader.php
r57252 r59159 372 372 * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional. 373 373 * 374 * @global string $wp_version The WordPress version string.375 *376 374 * @param string[] $themes Array of the theme slugs. 377 375 * @param array $args { … … 384 382 */ 385 383 public function bulk_upgrade( $themes, $args = array() ) { 386 global $wp_version; 387 384 $wp_version = wp_get_wp_version(); 388 385 $defaults = array( 389 386 'clear_update_cache' => true, … … 559 556 * 560 557 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 561 * @global string $wp_version The WordPress version string.562 558 * 563 559 * @param string $source The path to the downloaded package source. … … 565 561 */ 566 562 public function check_package( $source ) { 567 global $wp_filesystem, $wp_version; 568 563 global $wp_filesystem; 564 565 $wp_version = wp_get_wp_version(); 569 566 $this->new_theme_data = array(); 570 567
Note: See TracChangeset
for help on using the changeset viewer.