Skip to content

Commit ddbc2c3

Browse files
authored
fix typo and docs standards (#37)
fix typo and docs standards
2 parents 8c0372d + 8b27b94 commit ddbc2c3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple
368368

369369
## Support
370370

371-
Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
371+
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
372372

373373

374374
*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*

src/Widget_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ public function move( $args, $assoc_args ) {
252252
$this->validate_sidebar( $new_sidebar_id );
253253

254254
$new_sidebar_index = ! empty( $assoc_args['position'] ) ? $assoc_args['position'] - 1 : $current_sidebar_index;
255-
// Moving between sidebars adds to the top
255+
// Moving between sidebars adds to the top.
256256
if ( $new_sidebar_id !== $current_sidebar_id && $new_sidebar_index === $current_sidebar_index ) {
257-
// Human-readable positions are different than numerically indexed array
257+
// Human-readable positions are different than numerically indexed array.
258258
$new_sidebar_index = 0;
259259
}
260260

0 commit comments

Comments
 (0)