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/admin/includesPlugin.php

    r60666 r61006  
    2323
    2424        public function test_get_plugin_data() {
    25                 $data = get_plugin_data( DIR_TESTDATA . '/plugins/hello-dolly/hello.php' );
     25                $data = get_plugin_data( DIR_TESTDATA . '/plugins/hello.php' );
    2626
    2727                $default_headers = array(
     
    375375
    376376        public function test_is_plugin_active_true() {
    377                 activate_plugin( 'hello-dolly/hello.php' );
    378                 $test = is_plugin_active( 'hello-dolly/hello.php' );
     377                activate_plugin( 'hello.php' );
     378                $test = is_plugin_active( 'hello.php' );
    379379                $this->assertTrue( $test );
    380380
    381                 deactivate_plugins( 'hello-dolly/hello.php' );
     381                deactivate_plugins( 'hello.php' );
    382382        }
    383383
    384384        public function test_is_plugin_active_false() {
    385                 deactivate_plugins( 'hello-dolly/hello.php' );
    386                 $test = is_plugin_active( 'hello-dolly/hello.php' );
     385                deactivate_plugins( 'hello.php' );
     386                $test = is_plugin_active( 'hello.php' );
    387387                $this->assertFalse( $test );
    388388        }
    389389
    390390        public function test_is_plugin_inactive_true() {
    391                 deactivate_plugins( 'hello-dolly/hello.php' );
    392                 $test = is_plugin_inactive( 'hello-dolly/hello.php' );
     391                deactivate_plugins( 'hello.php' );
     392                $test = is_plugin_inactive( 'hello.php' );
    393393                $this->assertTrue( $test );
    394394        }
    395395
    396396        public function test_is_plugin_inactive_false() {
    397                 activate_plugin( 'hello-dolly/hello.php' );
    398                 $test = is_plugin_inactive( 'hello-dolly/hello.php' );
     397                activate_plugin( 'hello.php' );
     398                $test = is_plugin_inactive( 'hello.php' );
    399399                $this->assertFalse( $test );
    400400
    401                 deactivate_plugins( 'hello-dolly/hello.php' );
     401                deactivate_plugins( 'hello.php' );
    402402        }
    403403
     
    406406         */
    407407        public function test_get_plugin_files_single() {
    408                 $name = 'hello-dolly/hello.php';
     408                $name = 'hello.php';
    409409                $this->assertSame( array( $name ), get_plugin_files( $name ) );
    410410        }
     
    551551         */
    552552        public function test_is_network_only_plugin_hello() {
    553                 $this->assertFalse( is_network_only_plugin( 'hello-dolly/hello.php' ) );
     553                $this->assertFalse( is_network_only_plugin( 'hello.php' ) );
    554554        }
    555555
     
    571571         */
    572572        public function test_activate_plugins_single_no_array() {
    573                 $name = 'hello-dolly/hello.php';
     573                $name = 'hello.php';
    574574                activate_plugins( $name );
    575575                $this->assertTrue( is_plugin_active( $name ) );
     
    581581         */
    582582        public function test_activate_plugins_single_array() {
    583                 $name = 'hello-dolly/hello.php';
     583                $name = 'hello.php';
    584584                activate_plugins( array( $name ) );
    585585                $this->assertTrue( is_plugin_active( $name ) );
Note: See TracChangeset for help on using the changeset viewer.