diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 8cf0d8b..b7d1c9b 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -16,7 +16,7 @@ jobs:
matrix:
core:
- {name: 'WP latest', version: 'latest', continue: false}
- - {name: 'WP minimum', version: 'WordPress/WordPress#6.3', continue: false}
+ - {name: 'WP minimum', version: 'WordPress/WordPress#6.4', continue: false}
- {name: 'WP trunk', version: 'WordPress/WordPress#master', continue: true}
steps:
- name: Checkout
diff --git a/convert-to-blocks.php b/convert-to-blocks.php
index 951d365..6343da3 100644
--- a/convert-to-blocks.php
+++ b/convert-to-blocks.php
@@ -4,7 +4,7 @@
* Plugin URI: https://github.com/10up/convert-to-blocks
* Description: Convert classic editor posts to blocks on the fly.
* Version: 1.3.0
- * Requires at least: 6.3
+ * Requires at least: 6.4
* Requires PHP: 8.0
* Author: 10up
* Author URI: https://10up.com
diff --git a/includes/ConvertToBlocks/MigrationAgent.php b/includes/ConvertToBlocks/MigrationAgent.php
index a859a31..f3d2d57 100644
--- a/includes/ConvertToBlocks/MigrationAgent.php
+++ b/includes/ConvertToBlocks/MigrationAgent.php
@@ -35,7 +35,7 @@ public function register() {
[
'agent' => [
'next' => $this->next(),
- 'save_delay' => apply_filters( 'convert_to_blocks_save_delay', 0, $post_id )
+ 'save_delay' => apply_filters( 'convert_to_blocks_save_delay', 0, $post_id ),
],
]
);
diff --git a/package-lock.json b/package-lock.json
index 2eb7f13..2122bad 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,7 +11,7 @@
"devDependencies": {
"@10up/cypress-wp-utils": "^0.2.0",
"@10up/eslint-config": "^4.0.0",
- "@wordpress/env": "^8.9.0",
+ "@wordpress/env": "^10.2.0",
"@wordpress/scripts": "^27.8.0",
"cypress": "^13.3.0",
"cypress-mochawesome-reporter": "^3.6.0",
@@ -4536,21 +4536,6 @@
"node": ">=14"
}
},
- "node_modules/@wordpress/dependency-extraction-webpack-plugin": {
- "version": "5.8.0",
- "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.8.0.tgz",
- "integrity": "sha512-DdFjCrBkV0maEh1REY8QFtg6rfgGz+qXw8qJ0HxfH+Uees16oCModxBmbgCTC2w3IkMyHP3kEpvRJHHmYRRmWg==",
- "dev": true,
- "dependencies": {
- "json2php": "^0.0.7"
- },
- "engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "webpack": "^5.0.0"
- }
- },
"node_modules/@wordpress/e2e-test-utils-playwright": {
"version": "0.25.0",
"resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.25.0.tgz",
@@ -4575,14 +4560,14 @@
}
},
"node_modules/@wordpress/env": {
- "version": "8.13.0",
- "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-8.13.0.tgz",
- "integrity": "sha512-rtrrBO22DnbLsdBlsGqlMQrjz1dZfbwGnxyKev+gFd1rSfmLs+1F8L89RHOx9vsGPixl5uRwoU/qgYo7Hf1NVQ==",
+ "version": "10.2.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.2.0.tgz",
+ "integrity": "sha512-EToZYPGXpl42Asw3bxpX8aKmHfRUdGxKPjQ9CHZVQoTAL27Af4FyjyGnepsnDpnYdIeI8VPb2S3k2NL/1+fpIA==",
"dev": true,
"dependencies": {
"chalk": "^4.0.0",
"copy-dir": "^1.3.0",
- "docker-compose": "^0.22.2",
+ "docker-compose": "^0.24.3",
"extract-zip": "^1.6.7",
"got": "^11.8.5",
"inquirer": "^7.1.0",
@@ -4595,6 +4580,10 @@
},
"bin": {
"wp-env": "bin/wp-env"
+ },
+ "engines": {
+ "node": ">=18.12.0",
+ "npm": ">=8.19.2"
}
},
"node_modules/@wordpress/hooks": {
@@ -4780,6 +4769,21 @@
"react-dom": "^18.0.0"
}
},
+ "node_modules/@wordpress/scripts/node_modules/@wordpress/dependency-extraction-webpack-plugin": {
+ "version": "5.9.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.9.0.tgz",
+ "integrity": "sha512-hXbCkbG1XES47t7hFSETRrLfaRSPyQPlCnhlCx7FfhYFD0wh1jVArApXX5dD+A6wTrayXX/a16MpfaNqE662XA==",
+ "dev": true,
+ "dependencies": {
+ "json2php": "^0.0.7"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "webpack": "^5.0.0"
+ }
+ },
"node_modules/@wordpress/scripts/node_modules/@wordpress/eslint-plugin": {
"version": "18.0.0",
"resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-18.0.0.tgz",
@@ -8294,14 +8298,29 @@
}
},
"node_modules/docker-compose": {
- "version": "0.22.2",
- "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-0.22.2.tgz",
- "integrity": "sha512-iXWb5+LiYmylIMFXvGTYsjI1F+Xyx78Jm/uj1dxwwZLbWkUdH6yOXY5Nr3RjbYX15EgbGJCq78d29CmWQQQMPg==",
+ "version": "0.24.8",
+ "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-0.24.8.tgz",
+ "integrity": "sha512-plizRs/Vf15H+GCVxq2EUvyPK7ei9b/cVesHvjnX4xaXjM9spHe2Ytq0BitndFgvTJ3E3NljPNUEl7BAN43iZw==",
"dev": true,
+ "dependencies": {
+ "yaml": "^2.2.2"
+ },
"engines": {
"node": ">= 6.0.0"
}
},
+ "node_modules/docker-compose/node_modules/yaml": {
+ "version": "2.4.5",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz",
+ "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==",
+ "dev": true,
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
"node_modules/doctrine": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
@@ -19316,20 +19335,37 @@
"dev": true
},
"node_modules/simple-git": {
- "version": "3.24.0",
- "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.24.0.tgz",
- "integrity": "sha512-QqAKee9Twv+3k8IFOFfPB2hnk6as6Y6ACUpwCtQvRYBAes23Wv3SZlHVobAzqcE8gfsisCvPw3HGW3HYM+VYYw==",
+ "version": "3.25.0",
+ "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.25.0.tgz",
+ "integrity": "sha512-KIY5sBnzc4yEcJXW7Tdv4viEz8KyG+nU0hay+DWZasvdFOYKeUZ6Xc25LUHHjw0tinPT7O1eY6pzX7pRT1K8rw==",
"dev": true,
"dependencies": {
"@kwsites/file-exists": "^1.1.1",
"@kwsites/promise-deferred": "^1.1.1",
- "debug": "^4.3.4"
+ "debug": "^4.3.5"
},
"funding": {
"type": "github",
"url": "https://github.com/steveukx/git-js?sponsor=1"
}
},
+ "node_modules/simple-git/node_modules/debug": {
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
+ "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
"node_modules/sirv": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz",
diff --git a/package.json b/package.json
index b25d753..4e71f4a 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
"devDependencies": {
"@10up/cypress-wp-utils": "^0.2.0",
"@10up/eslint-config": "^4.0.0",
- "@wordpress/env": "^8.9.0",
+ "@wordpress/env": "^10.2.0",
"@wordpress/scripts": "^27.8.0",
"cypress": "^13.3.0",
"cypress-mochawesome-reporter": "^3.6.0",
diff --git a/phpcs.xml b/phpcs.xml
index 3756360..b06e197 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -8,4 +8,5 @@
+ /build/
diff --git a/readme.txt b/readme.txt
index f57157a..33e2b4d 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,7 @@
=== Convert to Blocks ===
Contributors: 10up, dsawardekar, tlovett1, jeffpaul
Tags: block, block migration, gutenberg migration, gutenberg conversion, convert to blocks
-Tested up to: 6.5
+Tested up to: 6.6
Stable tag: 1.3.0
License: GPL-2.0-or-later
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html