Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Block: Update the list of categories to pick from #26448

Merged
merged 2 commits into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Create Block: Update the list of categories to pick from
  • Loading branch information
gziolo committed Oct 26, 2020
commit 70df80a166897b7c6003738effb4b6e55f6f1ad8
5 changes: 5 additions & 0 deletions packages/create-block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

### Breaking Changes

- Update the list of available block categories to align with changes introduced in WordPress 5.0.
- Set the minimum required version of WordPress to 5.0 to ensure that block is correctly registered with new block categories.

## 0.16.0 (2020-06-25)

### New Feature
Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/lib/prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const category = {
type: 'list',
name: 'category',
message: 'The category name to help users browse and discover your block:',
choices: [ 'common', 'embed', 'formatting', 'layout', 'widgets' ],
choices: [ 'text', 'media', 'design', 'widgets', 'embed' ],
};

const author = {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-block/lib/templates/es5/readme.txt.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Contributors: {{author}}
{{/author}}
Tags: block
Requires at least: 5.3.2
Tested up to: 5.4.1
Requires at least: 5.5.0
Tested up to: 5.5.1
Stable tag: {{version}}
Requires PHP: 7.0.0
{{#license}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Contributors: {{author}}
{{/author}}
Tags: block
Requires at least: 5.3.2
Tested up to: 5.4.1
Requires at least: 5.5.0
Tested up to: 5.5.1
Stable tag: {{version}}
Requires PHP: 7.0.0
{{#license}}
Expand Down