You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading update from https://wordpress.org/wordpress-3.1.zip...
435
435
Unpacking the update...
436
-
Warning: Checksums not available for WordPress 3.1/en_US. Please cleanup files manually.
436
+
Cleaning up files...
437
+
No old files were removed.
438
+
Warning: Could not retrieve WordPress core checksums; skipping checksum-based cleanup. Files listed in $_old_files were still cleaned up.
437
439
Success: WordPress updated successfully.
438
440
439
441
@@ -523,6 +525,10 @@ Want to contribute a new feature? Please first [open a new issue](https://github
523
525
524
526
Once you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See "[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)" for details specific to working on this package locally.
525
527
528
+
### License
529
+
530
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
531
+
526
532
## Support
527
533
528
534
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
Scenario: Verify correct siteurl and home when URL has no path
181
+
Given an empty directory
182
+
And WP files
183
+
And wp-config.php
184
+
And a database
185
+
186
+
When I run `wp core install --url=example.com --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
187
+
Then STDOUT should contain:
188
+
"""
189
+
Success: WordPress installed successfully.
190
+
"""
191
+
192
+
When I run `wp option get home`
193
+
Then STDOUT should be:
194
+
"""
195
+
http://example.com
196
+
"""
197
+
198
+
When I run `wp option get siteurl`
199
+
Then STDOUT should be:
200
+
"""
201
+
http://example.com
202
+
"""
203
+
204
+
Scenario: Verify correct siteurl and home when URL has a path
205
+
Given an empty directory
206
+
And WP files
207
+
And wp-config.php
208
+
And a database
209
+
210
+
When I run `wp core install --url=example.com/subdir --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
211
+
Then STDOUT should contain:
212
+
"""
213
+
Success: WordPress installed successfully.
214
+
"""
215
+
216
+
When I run `wp option get home`
217
+
Then STDOUT should be:
218
+
"""
219
+
http://example.com/subdir
220
+
"""
221
+
222
+
When I run `wp option get siteurl`
223
+
Then STDOUT should be:
224
+
"""
225
+
http://example.com/subdir
226
+
"""
227
+
228
+
Scenario: Install ensures correct siteurl and home regardless of PHP_SELF
229
+
Given an empty directory
230
+
And WP files
231
+
And wp-config.php
232
+
And a database
233
+
234
+
When I run `wp core install --url=https://example.com --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
235
+
Then STDOUT should contain:
236
+
"""
237
+
Success: WordPress installed successfully.
238
+
"""
239
+
240
+
When I run `wp option get home`
241
+
Then STDOUT should be:
242
+
"""
243
+
https://example.com
244
+
"""
245
+
246
+
When I run `wp option get siteurl`
247
+
Then STDOUT should be:
248
+
"""
249
+
https://example.com
250
+
"""
251
+
180
252
Scenario: Install WordPress with special characters in the admin password
0 commit comments