Skip to content

Commit c3a0c2b

Browse files
Merge pull request #117 from thrijith/master
Replace use of "install" with "installation"
2 parents 45926c9 + d3b33dd commit c3a0c2b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

entity-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
WP_CLI::add_command( 'site option', 'Site_Option_Command', array(
3131
'before_invoke' => function() {
3232
if ( !is_multisite() ) {
33-
WP_CLI::error( 'This is not a multisite install.' );
33+
WP_CLI::error( 'This is not a multisite installation.' );
3434
}
3535
}
3636
) );

features/site-empty.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature: Empty a WordPress site of its data
22

33
Scenario: Empty a site
4-
Given a WP install
4+
Given a WP installation
55
And I run `wp option update uploads_use_yearmonth_folders 0`
66
And download:
77
| path | url |
@@ -13,7 +13,7 @@ Feature: Empty a WordPress site of its data
1313
When I try `wp site url 1`
1414
Then STDERR should be:
1515
"""
16-
Error: This is not a multisite install.
16+
Error: This is not a multisite installation.
1717
"""
1818
And the return code should be 1
1919

@@ -43,7 +43,7 @@ Feature: Empty a WordPress site of its data
4343
Then STDOUT should be empty
4444

4545
Scenario: Empty a site and its uploads directory
46-
Given a WP multisite install
46+
Given a WP multisite installation
4747
And I run `wp site create --slug=foo`
4848
And I run `wp --url=example.com/foo option update uploads_use_yearmonth_folders 0`
4949
And download:

features/site-option.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature: Manage WordPress site options
22

33
Scenario: Site Option CRUD
4-
Given a WP multisite install
4+
Given a WP multisite installation
55

66
# String values
77
When I run `wp site option add str_opt 'bar'`
@@ -111,24 +111,24 @@ Feature: Manage WordPress site options
111111
"""
112112
113113
Scenario: Error on single install
114-
Given a WP install
114+
Given a WP installation
115115
116116
When I try `wp site option get str_opt`
117117
Then STDERR should be:
118118
"""
119-
Error: This is not a multisite install.
119+
Error: This is not a multisite installation.
120120
"""
121121
And the return code should be 1
122122
123123
When I try `wp site option add str_opt 'bar'`
124124
Then STDERR should be:
125125
"""
126-
Error: This is not a multisite install.
126+
Error: This is not a multisite installation.
127127
"""
128128
And the return code should be 1
129129
130130
Scenario: Filter options by `--site_id`
131-
Given a WP multisite install
131+
Given a WP multisite installation
132132
133133
When I run `wp db query "INSERT INTO wp_sitemeta (site_id,meta_key,meta_value) VALUES (2,'wp_cli_test_option','foobar');"`
134134
Then the return code should be 0

src/Site_Command.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Creates, deletes, empties, moderates, and lists one or more sites on a multisite install.
4+
* Creates, deletes, empties, moderates, and lists one or more sites on a multisite installation.
55
*
66
* ## EXAMPLES
77
*
@@ -223,7 +223,7 @@ public function _empty( $args, $assoc_args ) {
223223
}
224224

225225
/**
226-
* Deletes a site in a multisite install.
226+
* Deletes a site in a multisite installation.
227227
*
228228
* ## OPTIONS
229229
*
@@ -247,7 +247,7 @@ public function _empty( $args, $assoc_args ) {
247247
*/
248248
function delete( $args, $assoc_args ) {
249249
if ( !is_multisite() ) {
250-
WP_CLI::error( 'This is not a multisite install.' );
250+
WP_CLI::error( 'This is not a multisite installation.' );
251251
}
252252

253253
if ( isset( $assoc_args['slug'] ) ) {
@@ -280,7 +280,7 @@ function delete( $args, $assoc_args ) {
280280
}
281281

282282
/**
283-
* Creates a site in a multisite install.
283+
* Creates a site in a multisite installation.
284284
*
285285
* ## OPTIONS
286286
*
@@ -309,7 +309,7 @@ function delete( $args, $assoc_args ) {
309309
*/
310310
public function create( $_, $assoc_args ) {
311311
if ( !is_multisite() ) {
312-
WP_CLI::error( 'This is not a multisite install.' );
312+
WP_CLI::error( 'This is not a multisite installation.' );
313313
}
314314

315315
global $wpdb, $current_site;
@@ -431,7 +431,7 @@ private function _get_network( $network_id ) {
431431
}
432432

433433
/**
434-
* Lists all sites in a multisite install.
434+
* Lists all sites in a multisite installation.
435435
*
436436
* ## OPTIONS
437437
*
@@ -496,7 +496,7 @@ private function _get_network( $network_id ) {
496496
*/
497497
public function list_( $_, $assoc_args ) {
498498
if ( !is_multisite() ) {
499-
WP_CLI::error( 'This is not a multisite install.' );
499+
WP_CLI::error( 'This is not a multisite installation.' );
500500
}
501501

502502
global $wpdb;

0 commit comments

Comments
 (0)