Skip to content

Commit 531fd44

Browse files
committed
Remove disabling of default scripts
1 parent bbd14db commit 531fd44

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

features/core.feature

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,6 @@ Feature: Manage WordPress installation
212212
213213
Scenario: Install multisite from scratch, with MULTISITE already set in wp-config.php
214214
Given a WP multisite install
215-
And a disable_default_scripts.php file:
216-
"""
217-
<?php
218-
WP_CLI::add_wp_hook( 'init', static function () {
219-
remove_action( 'wp_default_scripts', 'wp_default_scripts' );
220-
} );
221-
"""
222215
And I run `wp db reset --yes`
223216
224217
When I try `wp core is-installed`
@@ -229,7 +222,7 @@ Feature: Manage WordPress installation
229222
WordPress database error Table
230223
"""
231224
232-
When I run `wp core multisite-install --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=1 --require=disable_default_scripts.php`
225+
When I run `wp core multisite-install --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
233226
Then STDOUT should not be empty
234227
235228
When I run `wp eval 'echo $GLOBALS["current_site"]->domain;'`

0 commit comments

Comments
 (0)