Changeset 59159 for trunk/src/wp-admin/includes/update-core.php
- Timestamp:
- 10/03/2024 12:23:53 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r59150 r59159 1540 1540 * @global array $_old_requests_files Requests files to be preloaded. 1541 1541 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1542 * @global string $wp_version The WordPress version string.1543 1542 * 1544 1543 * @param string $to Path to old WordPress installation. 1545 1544 */ 1546 1545 function _preload_old_requests_classes_and_interfaces( $to ) { 1547 global $_old_requests_files, $wp_filesystem, $wp_version; 1546 global $_old_requests_files, $wp_filesystem; 1547 $wp_version = wp_get_wp_version(); 1548 1548 1549 1549 /* … … 1588 1588 * @since 3.3.0 1589 1589 * 1590 * @global string $wp_version The WordPress version string. 1591 * @global string $pagenow The filename of the current screen. 1590 * @global string $pagenow The filename of the current screen. 1592 1591 * @global string $action 1593 1592 * … … 1595 1594 */ 1596 1595 function _redirect_to_about_wordpress( $new_version ) { 1597 global $wp_version, $pagenow, $action; 1596 global $pagenow, $action; 1597 $wp_version = wp_get_wp_version(); 1598 1598 1599 1599 if ( version_compare( $wp_version, '3.4-RC1', '>=' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.