Skip to content

Commit d345061

Browse files
schlesseraclaude
andcommitted
Keep commands that change how WordPress is loaded out of shared processes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 72f99b0 commit d345061

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

‎features/core-check-update-db.feature‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ Feature: Check if WordPress database update is needed
6161
"""
6262
And I try `wp theme install twentytwenty --activate`
6363
And I run `wp core download --version=6.6 --force`
64-
And these setup commands:
65-
| command |
66-
| wp option update db_version 57155 --require=disable_sidebar_check.php |
67-
| wp site option update wpmu_upgrade_site 57155 |
64+
And I run `wp option update db_version 57155 --require=disable_sidebar_check.php`
65+
And I run `wp site option update wpmu_upgrade_site 57155`
6866
And I run `wp site create --slug=foo`
6967
And I run `wp site create --slug=bar`
7068
And I run `wp site create --slug=burrito --porcelain`

‎features/core-update-db.feature‎

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ Feature: Update core's database
7777
"""
7878
And I try `wp theme install twentytwenty --activate`
7979
And I run `wp core download --version=5.4 --force`
80-
And these setup commands:
81-
| command |
82-
| wp option update db_version 45805 --require=disable_sidebar_check.php |
83-
| wp site option update wpmu_upgrade_site 45805 |
80+
And I run `wp option update db_version 45805 --require=disable_sidebar_check.php`
81+
And I run `wp site option update wpmu_upgrade_site 45805`
8482
And I run `wp site create --slug=foo`
8583
And I run `wp site create --slug=bar`
8684
And I run `wp site create --slug=burrito --porcelain`
@@ -124,10 +122,8 @@ Feature: Update core's database
124122
"""
125123
And I try `wp theme install twentytwenty --activate`
126124
And I run `wp core download --version=5.4 --force`
127-
And these setup commands:
128-
| command |
129-
| wp option update db_version 45805 --require=disable_sidebar_check.php |
130-
| wp site option update wpmu_upgrade_site 45805 |
125+
And I run `wp option update db_version 45805 --require=disable_sidebar_check.php`
126+
And I run `wp site option update wpmu_upgrade_site 45805`
131127
And I run `wp site create --slug=foo`
132128
And I run `wp site create --slug=bar`
133129
And I run `wp site create --slug=burrito --porcelain`
@@ -183,10 +179,8 @@ Feature: Update core's database
183179
"""
184180
And I try `wp theme install twentytwenty --activate`
185181
And I run `wp core download --version=5.4 --force`
186-
And these setup commands:
187-
| command |
188-
| wp option update db_version 45805 --require=disable_sidebar_check.php |
189-
| wp site option update wpmu_upgrade_site 45805 |
182+
And I run `wp option update db_version 45805 --require=disable_sidebar_check.php`
183+
And I run `wp site option update wpmu_upgrade_site 45805`
190184
# Create 2 additional sites in network 1 (main site already exists; 3 total in network 1)
191185
And I run `wp site create --slug=net1-site1`
192186
And I run `wp site create --slug=net1-site2`

0 commit comments

Comments
 (0)