Skip to content

Commit

Permalink
Create Block: Set minimum supported WordPress version to 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Aug 30, 2024
1 parent bab73af commit 5a8e624
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Description: {{description}}
{{/description}}
* Version: {{version}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
{{#author}}
* Author: {{author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Description: {{description}}
{{/description}}
* Version: {{version}}
* Requires at least: 6.2
* Requires at least: 6.6
* Requires PHP: 7.0
{{#author}}
* Author: {{author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.4
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
4 changes: 4 additions & 0 deletions packages/create-block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancements

- Unpin the `@wordpress/scripts` version and set the minimum supported WordPress version to 6.6.

## 4.49.0 (2024-08-21)

## 4.48.0 (2024-08-07)
Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/lib/init-wp-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = async ( { slug } ) => {
info(
'Installing `@wordpress/scripts` package. It might take a couple of minutes...'
);
await command( 'npm install @wordpress/scripts@27 --save-dev', {
await command( 'npm install @wordpress/scripts --save-dev', {
cwd,
} );

Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/lib/templates/es5/$slug.php.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{#description}}
* Description: {{description}}
{{/description}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
* Version: {{version}}
{{#author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{#description}}
* Description: {{description}}
{{/description}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
* Version: {{version}}
{{#author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down

0 comments on commit 5a8e624

Please sign in to comment.