Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .readme-partials/disclaimer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> [!NOTE]
> Scaffolding plugins and themes with `wp scaffold` is no longer recommended for modern WordPress development. Newer tools like [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/) provide up-to-date build configurations and block theme support.
Comment thread
swissspidy marked this conversation as resolved.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ wp-cli/scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.

> [!NOTE]
> Scaffolding plugins and themes with `wp scaffold` is no longer recommended for modern WordPress development. Newer tools like [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/) provide up-to-date build configurations and block theme support.

[![Testing](https://github.com/wp-cli/scaffold-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/scaffold-command/actions/workflows/testing.yml) [![Code Coverage](https://codecov.io/gh/wp-cli/scaffold-command/branch/main/graph/badge.svg)](https://codecov.io/gh/wp-cli/scaffold-command/tree/main)

Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@
"scaffold post-type",
"scaffold taxonomy",
"scaffold theme-tests"
]
],
"readme": {
"package_description": {
"post": ".readme-partials/disclaimer.md"
}
}
},
"autoload": {
"classmap": [
Expand Down
Loading