Skip to content

Commit 52bfe0f

Browse files
authored
Merge branch 'main' into copilot/fix-plugin-name-slash-issue
2 parents eba745a + c421ce6 commit 52bfe0f

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2121

2222
- name: Check existence of composer.json file
2323
id: check_composer_file

.typos.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[default]
2+
extend-ignore-re = [
3+
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$",
4+
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
5+
"(#|//)\\s*spellchecker:ignore-next-line\\n.*"
6+
]

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Generates starter code for a theme based on _s.
4444
wp scaffold underscores <slug> [--activate] [--enable-network] [--theme_name=<title>] [--author=<full-name>] [--author_uri=<uri>] [--sassify] [--woocommerce] [--force]
4545
~~~
4646

47+
**Alias:** `_s`
48+
4749
See the [Underscores website](https://underscores.me/) for more details.
4850

4951
**OPTIONS**
@@ -321,6 +323,8 @@ Generates PHP code for registering a custom post type.
321323
wp scaffold post-type <slug> [--label=<label>] [--textdomain=<textdomain>] [--dashicon=<dashicon>] [--theme] [--plugin=<plugin>] [--raw] [--force]
322324
~~~
323325

326+
**Alias:** `cpt`
327+
324328
**OPTIONS**
325329

326330
<slug>
@@ -364,6 +368,8 @@ Generates PHP code for registering a custom taxonomy.
364368
wp scaffold taxonomy <slug> [--post_types=<post-types>] [--label=<label>] [--textdomain=<textdomain>] [--theme] [--plugin=<plugin>] [--raw] [--force]
365369
~~~
366370

371+
**Alias:** `tax`
372+
367373
**OPTIONS**
368374

369375
<slug>

features/scaffold-plugin-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Feature: Scaffold plugin unit tests
302302
/**
303303
* Plugin Name: Foo
304304
* Plugin URI: https://example.com
305-
* Description: Foo desctiption
305+
* Description: Foo description
306306
* Author: John Doe
307307
* Author URI: https://example.com
308308
* Text Domain: foo

features/scaffold-theme-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Scaffold theme unit tests
88
When I run `wp theme path`
99
Then save STDOUT as {THEME_DIR}
1010

11-
@require-php-7.0 @less-than-php-7.2 @require-mysql
11+
@require-php-7.0 @require-mysql
1212
Scenario: Scaffold theme tests
1313
When I run `wp scaffold theme-tests t12child`
1414
Then STDOUT should not be empty

0 commit comments

Comments
 (0)