Skip to content

Commit

Permalink
Merge pull request #454 from ernilambar/fix-typos
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Jan 11, 2024
2 parents eac6762 + 62d0a9b commit e3253aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Option_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function get( $args, $assoc_args ) {
* : The name of the option to add.
*
* [<value>]
* : The value of the option to add. If ommited, the value is read from STDIN.
* : The value of the option to add. If omitted, the value is read from STDIN.
*
* [--format=<format>]
* : The serialization format for the value.
Expand Down Expand Up @@ -354,7 +354,7 @@ function ( $a, $b ) use ( $orderby, $order ) {
* : The name of the option to update.
*
* [<value>]
* : The new value. If ommited, the value is read from STDIN.
* : The new value. If omitted, the value is read from STDIN.
*
* [--autoload=<autoload>]
* : Requires WP 4.2. Should this option be automatically loaded.
Expand Down
2 changes: 1 addition & 1 deletion src/Post_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ private function maybe_make_child() {
}

private function maybe_reset_depth() {
// 10% chance of reseting to root depth,
// 10% chance of resetting to root depth,
return ( wp_rand( 1, 10 ) === 7 );
}

Expand Down
6 changes: 3 additions & 3 deletions src/Site_Option_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function get( $args, $assoc_args ) {
* : The name of the site option to add.
*
* [<value>]
* : The value of the site option to add. If ommited, the value is read from STDIN.
* : The value of the site option to add. If omitted, the value is read from STDIN.
*
* [--format=<format>]
* : The serialization format for the value.
Expand Down Expand Up @@ -147,7 +147,7 @@ public function add( $args, $assoc_args ) {
*
* ## EXAMPLES
*
* # List all site options begining with "i2f_"
* # List all site options beginning with "i2f_"
* $ wp site option list --search="i2f_*"
* +-------------+--------------+
* | meta_key | meta_value |
Expand Down Expand Up @@ -214,7 +214,7 @@ public function list_( $args, $assoc_args ) {
* : The name of the site option to update.
*
* [<value>]
* : The new value. If ommited, the value is read from STDIN.
* : The new value. If omitted, the value is read from STDIN.
*
* [--format=<format>]
* : The serialization format for the value.
Expand Down
2 changes: 1 addition & 1 deletion src/Term_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ private function maybe_make_child() {
}

private function maybe_reset_depth() {
// 10% chance of reseting to root depth.
// 10% chance of resetting to root depth.
return ( wp_rand( 1, 10 ) === 7 );
}

Expand Down

0 comments on commit e3253aa

Please sign in to comment.