Make WordPress Core


Ignore:
Timestamp:
10/21/2025 04:31:04 AM (3 months ago)
Author:
peterwilsoncc
Message:

Upgrade/Install: Revert relocation of Hello Dolly plugin.

Reverts Hello Dolly changes moving the plugin to a containing folder. Removes the upgrade_690() function in it's entirety as the upgrade routine is no longer required.

Fully reverted commits: [60666], [60670], [60716], [60725]; partially reverts [60721].

Porps johnbillion, whyisjake, SirLouen, mindctrl, afragen, jorbin, Otto42, swissspidy, welcher, davidbaumwald.
See #53323.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r60789 r61006  
    887887    }
    888888
    889     if ( $wp_current_db_version < 60717 ) {
    890         upgrade_690();
    891     }
    892 
    893889    maybe_disable_link_manager();
    894890
     
    24872483
    24882484/**
    2489  * Executes changes made in WordPress 6.9.0.
    2490  *
    2491  * @ignore
    2492  * @since 6.9.0
    2493  *
    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 #53323
    2501         $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 /**
    25142485 * Executes network-level upgrade routines.
    25152486 *
Note: See TracChangeset for help on using the changeset viewer.