Changeset 48971 for trunk/src/wp-admin/includes/class-plugin-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-plugin-upgrader.php
r48734 r48971 407 407 * 408 408 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 409 * @global string $wp_version The WordPress version string. 409 410 * 410 411 * @param string $source The path to the downloaded package source. … … 413 414 */ 414 415 public function check_package( $source ) { 415 global $wp_filesystem ;416 global $wp_filesystem, $wp_version; 416 417 417 418 $this->new_plugin_data = array(); … … 460 461 /* translators: 1: Current WordPress version, 2: Version required by the uploaded plugin. */ 461 462 __( 'Your WordPress version is %1$s, however the uploaded plugin requires %2$s.' ), 462 $ GLOBALS['wp_version'],463 $wp_version, 463 464 $requires_wp 464 465 );
Note: See TracChangeset
for help on using the changeset viewer.