Changeset 60716
- Timestamp:
- 09/07/2025 08:32:37 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/upgrade.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r60666 r60716 2418 2418 2419 2419 /** 2420 * Executes changes made in WordPress 6.9.0.2421 *2422 * @ignore2423 * @since 6.9.02424 *2425 * @global int $wp_current_db_version The old (current) database version.2426 */2427 function upgrade_690() {2428 global $wp_current_db_version;2429 2430 // Switch Hello Dolly from file to directory format. See #533232431 $active_plugins = get_option( 'active_plugins' );2432 $old_plugin = 'hello.php';2433 $new_plugin = 'hello-dolly/hello.php';2434 $key = array_search( $old_plugin, $active_plugins, true );2435 2436 if ( $key ) {2437 $active_plugins[ $key ] = $new_plugin;2438 update_option( 'active_plugins', $active_plugins );2439 }2440 }2441 /**2442 2420 * Executes changes made in WordPress 6.7.0. 2443 2421 * … … 2502 2480 $ping_sites_value = implode( "\n", $ping_sites_value ); 2503 2481 update_option( 'ping_sites', $ping_sites_value ); 2482 } 2483 } 2484 2485 /** 2486 * Executes changes made in WordPress 6.9.0. 2487 * 2488 * @ignore 2489 * @since 6.9.0 2490 * 2491 * @global int $wp_current_db_version The old (current) database version. 2492 */ 2493 function upgrade_690() { 2494 global $wp_current_db_version, $wpdb; 2495 2496 // Switch Hello Dolly from file to directory format. See #53323 2497 $active_plugins = get_option( 'active_plugins' ); 2498 $old_plugin = 'hello.php'; 2499 $new_plugin = 'hello-dolly/hello.php'; 2500 $key = array_search( $old_plugin, $active_plugins, true ); 2501 2502 if ( $key ) { 2503 $active_plugins[ $key ] = $new_plugin; 2504 update_option( 'active_plugins', $active_plugins ); 2504 2505 } 2505 2506 }
Note: See TracChangeset
for help on using the changeset viewer.