Skip to content

Commit

Permalink
Create Block: Revert changes to the list of categories in the prompt
Browse files Browse the repository at this point in the history
Related issue: #22848
It ensures that blocks will continue to work with WordPress 5.4.x.
We should be able to use the new set of categories once WordPress 5.5 is out.
  • Loading branch information
gziolo committed Jun 6, 2020
1 parent 4a94950 commit 43e0b21
Showing 1 changed file with 1 addition and 1 deletion.
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: [ 'text', 'embed', 'media', 'design', 'widgets' ],
choices: [ 'common', 'embed', 'formatting', 'layout', 'widgets' ],
};

const author = {
Expand Down

0 comments on commit 43e0b21

Please sign in to comment.