Changeset 61006 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 10/21/2025 04:31:04 AM (3 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
r60789 r61006 887 887 } 888 888 889 if ( $wp_current_db_version < 60717 ) {890 upgrade_690();891 }892 893 889 maybe_disable_link_manager(); 894 890 … … 2487 2483 2488 2484 /** 2489 * Executes changes made in WordPress 6.9.0.2490 *2491 * @ignore2492 * @since 6.9.02493 *2494 * @global int $wp_current_db_version The old (current) database version.2495 */2496 function upgrade_690() {2497 global $wp_current_db_version;2498 2499 if ( $wp_current_db_version < 60717 ) {2500 // Switch Hello Dolly from file to directory format. See #533232501 $active_plugins = (array) get_option( 'active_plugins', array() );2502 $old_plugin = 'hello.php';2503 $new_plugin = 'hello-dolly/hello.php';2504 $key = array_search( $old_plugin, $active_plugins, true );2505 2506 if ( $key ) {2507 $active_plugins[ $key ] = $new_plugin;2508 update_option( 'active_plugins', $active_plugins );2509 }2510 }2511 }2512 2513 /**2514 2485 * Executes network-level upgrade routines. 2515 2486 *
Note: See TracChangeset
for help on using the changeset viewer.