Changeset 48971 for trunk/src/wp-admin/includes/class-theme-upgrader.php
- Timestamp:
- 09/12/2020 12:10:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-upgrader.php
r48734 r48971 520 520 * 521 521 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 522 * @global string $wp_version The WordPress version string. 522 523 * 523 524 * @param string $source The full path to the package source. … … 525 526 */ 526 527 public function check_package( $source ) { 527 global $wp_filesystem ;528 global $wp_filesystem, $wp_version; 528 529 529 530 $this->new_theme_data = array(); … … 607 608 /* translators: 1: Current WordPress version, 2: Version required by the uploaded theme. */ 608 609 __( 'Your WordPress version is %1$s, however the uploaded theme requires %2$s.' ), 609 $ GLOBALS['wp_version'],610 $wp_version, 610 611 $requires_wp 611 612 );
Note: See TracChangeset
for help on using the changeset viewer.