|
8 | 8 | * |
9 | 9 | * ## EXAMPLES |
10 | 10 | * |
11 | | - * # Generate a new plugin with unit tests |
| 11 | + * # Generate a new plugin with unit tests. |
12 | 12 | * $ wp scaffold plugin sample-plugin |
13 | 13 | * Success: Created plugin files. |
14 | 14 | * Success: Created test files. |
15 | 15 | * |
16 | | - * # Generate theme based on _s |
| 16 | + * # Generate theme based on _s. |
17 | 17 | * $ wp scaffold _s sample-theme --theme_name="Sample Theme" --author="John Doe" |
18 | 18 | * Success: Created theme 'Sample Theme'. |
19 | 19 | * |
20 | | - * # Generate code for post type registration in given theme |
| 20 | + * # Generate code for post type registration in given theme. |
21 | 21 | * $ wp scaffold post-type movie --label=Movie --theme=simple-life |
22 | | - * Success: Created /var/www/example.com/public_html/wp-content/themes/simple-life/post-types/movie.php |
| 22 | + * Success: Created '/var/www/example.com/public_html/wp-content/themes/simple-life/post-types/movie.php'. |
23 | 23 | * |
24 | 24 | * @package wp-cli |
25 | 25 | */ |
@@ -206,9 +206,9 @@ private function scaffold( $slug, $assoc_args, $defaults, $subdir, $templates ) |
206 | 206 | * |
207 | 207 | * **Warning: `wp scaffold block` is deprecated.** |
208 | 208 | * |
209 | | - * The official script to generate a block is the [@wordpress/create-block](https://developer.wordpress.org/block-editor/designers-developers/developers/packages/packages-create-block/) package. |
| 209 | + * The official script to generate a block is the [@wordpress/create-block](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/) package. |
210 | 210 | * |
211 | | - * See the [Create a Block tutorial](https://developer.wordpress.org/block-editor/getting-started/create-block/) for a complete walk-through. |
| 211 | + * See the [Create a Block tutorial](https://developer.wordpress.org/block-editor/getting-started/tutorial/) for a complete walk-through. |
212 | 212 | * |
213 | 213 | * ## OPTIONS |
214 | 214 | * |
@@ -710,7 +710,7 @@ public function plugin( $args, $assoc_args ) { |
710 | 710 | * * `tests/test-sample.php` is a sample file containing the actual tests. |
711 | 711 | * * `.phpcs.xml.dist` is a collection of PHP_CodeSniffer rules. |
712 | 712 | * |
713 | | - * Learn more from the [plugin unit tests documentation](https://make.wordpress.org/cli/handbook/plugin-unit-tests/). |
| 713 | + * Learn more from the [plugin unit tests documentation](https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/). |
714 | 714 | * |
715 | 715 | * ## ENVIRONMENT |
716 | 716 | * |
@@ -762,7 +762,7 @@ public function plugin_tests( $args, $assoc_args ) { |
762 | 762 | * * `tests/test-sample.php` is a sample file containing the actual tests. |
763 | 763 | * * `.phpcs.xml.dist` is a collection of PHP_CodeSniffer rules. |
764 | 764 | * |
765 | | - * Learn more from the [plugin unit tests documentation](https://make.wordpress.org/cli/handbook/plugin-unit-tests/). |
| 765 | + * Learn more from the [plugin unit tests documentation](https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/). |
766 | 766 | * |
767 | 767 | * ## ENVIRONMENT |
768 | 768 | * |
|
0 commit comments