Skip to content

Commit 8821525

Browse files
authored
Merge pull request #115 from luc122c/patch-1
Replace instances of `wp.dev` with `example.com`
2 parents 1046e76 + fbdae2f commit 8821525

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ in seconds or less.
139139

140140
Note: if you've installed WordPress in a subdirectory, then you'll need
141141
to `wp option update siteurl` after `wp core install`. For instance, if
142-
WordPress is installed in the `/wp` directory and your domain is wp.dev,
143-
then you'll need to run `wp option update siteurl http://wp.dev/wp` for
142+
WordPress is installed in the `/wp` directory and your domain is example.com,
143+
then you'll need to run `wp option update siteurl http://example.com/wp` for
144144
your WordPress installation to function properly.
145145

146146
Note: When using custom user tables (e.g. `CUSTOM_USER_TABLE`), the admin

features/core.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Feature: Manage WordPress installation
347347

348348
When I run `wp db create`
349349
# extra/no-mail.php not present as mu-plugin so skip sending email else will fail on Travis with "sh: 1: -t: not found"
350-
And I run `wp core install --url=wp.dev --title="WP Dev" --admin_user=wpcli --admin_password=wpcli --admin_email=wpcli@example.com --skip-email`
350+
And I run `wp core install --url=example.com --title="WP Example" --admin_user=wpcli --admin_password=wpcli --admin_email=wpcli@example.com --skip-email`
351351
Then STDOUT should contain:
352352
"""
353353
Success: WordPress installed successfully.
@@ -356,13 +356,13 @@ Feature: Manage WordPress installation
356356
When I run `wp option get home`
357357
Then STDOUT should be:
358358
"""
359-
http://wp.dev
359+
http://example.com
360360
"""
361361

362362
When I run `wp option get siteurl`
363363
Then STDOUT should be:
364364
"""
365-
http://wp.dev
365+
http://example.com
366366
"""
367367

368368
Scenario: Warn when multisite constants can't be inserted into wp-config

src/Core_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ public function is_installed( $_, $assoc_args ) {
339339
*
340340
* Note: if you've installed WordPress in a subdirectory, then you'll need
341341
* to `wp option update siteurl` after `wp core install`. For instance, if
342-
* WordPress is installed in the `/wp` directory and your domain is wp.dev,
343-
* then you'll need to run `wp option update siteurl http://wp.dev/wp` for
342+
* WordPress is installed in the `/wp` directory and your domain is example.com,
343+
* then you'll need to run `wp option update siteurl http://example.com/wp` for
344344
* your WordPress installation to function properly.
345345
*
346346
* Note: When using custom user tables (e.g. `CUSTOM_USER_TABLE`), the admin

0 commit comments

Comments
 (0)