Make WordPress Core


Ignore:
Timestamp:
10/21/2025 04:31:04 AM (11 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/tests/phpunit/tests/multisite/network.php

    r60729 r61006  
    274274
    275275        public function test_active_network_plugins() {
    276                 $path = 'hello-dolly/hello.php';
     276                $path = 'hello.php';
    277277
    278278                // Local activate, should be invisible for the network.
     
    286286                activate_plugin( $path, '', true ); // Enable the plugin for all sites in the network.
    287287                $active_plugins = wp_get_active_network_plugins();
    288                 $this->assertSame( array( WP_PLUGIN_DIR . '/hello-dolly/hello.php' ), $active_plugins );
     288                $this->assertSame( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins );
    289289
    290290                // Deactivate the plugin.
     
    305305         */
    306306        public function test_duplicate_network_active_plugin() {
    307                 $path = 'hello-dolly/hello.php';
     307                $path = 'hello.php';
    308308                $mock = new MockAction();
    309309                add_action( 'activate_' . $path, array( $mock, 'action' ) );
     
    325325
    326326        public function test_is_plugin_active_for_network_true() {
    327                 activate_plugin( 'hello-dolly/hello.php', '', true );
    328                 $this->assertTrue( is_plugin_active_for_network( 'hello-dolly/hello.php' ) );
     327                activate_plugin( 'hello.php', '', true );
     328                $this->assertTrue( is_plugin_active_for_network( 'hello.php' ) );
    329329        }
    330330
    331331        public function test_is_plugin_active_for_network_false() {
    332                 deactivate_plugins( 'hello-dolly/hello.php', false, true );
    333                 $this->assertFalse( is_plugin_active_for_network( 'hello-dolly/hello.php' ) );
     332                deactivate_plugins( 'hello.php', false, true );
     333                $this->assertFalse( is_plugin_active_for_network( 'hello.php' ) );
    334334        }
    335335
Note: See TracChangeset for help on using the changeset viewer.