Skip to content

Commit 1c290c6

Browse files
committed
Remove upgrade_690() entirely
1 parent de0171d commit 1c290c6

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/wp-admin/includes/upgrade.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,34 +2480,6 @@ function ( $url ) {
24802480
}
24812481
}
24822482

2483-
/**
2484-
* Executes changes made in WordPress 6.9.0.
2485-
*
2486-
* @ignore
2487-
* @since 6.9.0
2488-
*
2489-
* @global int $wp_current_db_version The old (current) database version.
2490-
* @global wpdb $wpdb WordPress database abstraction object.
2491-
*/
2492-
function upgrade_690() {
2493-
global $wp_current_db_version, $wpdb;
2494-
2495-
// Switch Hello Dolly from file to directory format. See #53323
2496-
$active_plugins = get_option( 'active_plugins' );
2497-
$old_plugin = 'hello.php';
2498-
$new_plugin = 'hello-dolly/hello.php';
2499-
$key = array_search( $old_plugin, $active_plugins, true );
2500-
2501-
if ( $key ) {
2502-
$active_plugins[ $key ] = $new_plugin;
2503-
update_option( 'active_plugins', $active_plugins );
2504-
}
2505-
2506-
if ( $wp_current_db_version < 60717 ) {
2507-
$wpdb->query( "ALTER TABLE $wpdb->posts ADD INDEX type_status_author (post_type,post_status,post_author)" );
2508-
}
2509-
}
2510-
25112483
/**
25122484
* Executes network-level upgrade routines.
25132485
*

0 commit comments

Comments
 (0)