Skip to content

Commit 825c7be

Browse files
committed
clarified examples in readme
1 parent ef9b4de commit 825c7be

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ following variables; the setup script will complain if any are unset.
5959
|-------------------|---------------------|---------
6060
| WP_LOCALE | en_NZ | en_US
6161
| WP_URL | http://example.com |
62-
| WP_TITLE | Example Title |
62+
| WP_TITLE | Example Site |
6363
| WP_ADMIN_EMAIL | admin@example.com |
6464
| WP_ADMIN_USER | admin |
6565
| WP_ADMIN_PASSWORD | |
@@ -80,8 +80,8 @@ A domain mapping plugin is not required, though there is no UI to conveniently a
8080
Use the convenience function to register a new site. It will configure all domain mapping values.
8181

8282
WP_COMMANDS: |
83-
new_site sitea sitea.dev http://sitea.dev "Site A"
84-
wp --url=http://sitea.dev theme activate twentyfourteen
83+
new_site example example.com http://example.com "Example Site"
84+
wp --url=http://example.com theme activate twentyfourteen
8585

8686
Cookies are configured to be issued for only the site's domain. Cookies are shared between www.example.com and example.com.
8787

@@ -111,8 +111,7 @@ to the `latest` release, or if no releases exist, to `master`.
111111

112112
## Arbitrary Commands
113113

114-
Any arbitrary commands can be executed, actually any commands as the
115-
value is processed by `sh`. Any environment variable prefixed with `WP_COMMANDS`
114+
Arbitrary commands can be executed. Any environment variable prefixed with `WP_COMMANDS`
116115
will be processed.
117116

118117
WP_COMMANDS_0: | # Install plugins
@@ -123,6 +122,8 @@ will be processed.
123122
wp rewrite structure /%postname%
124123
wp rewrite flush
125124

125+
Take care with this as the values are processed by `eval` in Bash.
126+
126127
[WP-CLI]: http://wp-cli.org
127128
[Bitbucket]: https://bitbucket.com
128129
[GitHub]: https://github.com

0 commit comments

Comments
 (0)