diff --git a/.dev/tests/phpunit/test-class-coblocks.php b/.dev/tests/phpunit/test-class-coblocks.php
index 765e6031599..f40f2f9bbd4 100644
--- a/.dev/tests/phpunit/test-class-coblocks.php
+++ b/.dev/tests/phpunit/test-class-coblocks.php
@@ -69,7 +69,7 @@ public function test_constants() {
$reflection_method->invoke( coblocks() );
$expected = [
- 'version' => '3.0.3',
+ 'version' => '3.0.4',
'plugin_dir' => str_replace( '.dev/tests/phpunit/', '', plugin_dir_path( __FILE__ ) ),
'plugin_url' => str_replace( '.dev/tests/phpunit/', '', plugin_dir_url( __FILE__ ) ),
'plugin_file' => str_replace( '.dev/tests/phpunit/test-class-coblocks.php', 'class-coblocks.php', __FILE__ ),
diff --git a/changelog.txt b/changelog.txt
index 44692c40c86..d5ca2408fb3 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,12 @@
+3.0.4 / 2023-06-22
+===================
+# Bug fix
+* Validate Site Design nonce and capabilities [#2535](https://github.com/godaddy-wordpress/coblocks/pull/2535)
+
+# Misc
+* Fix Typo in lightbox code and resolve CI issues [#2534](https://github.com/godaddy-wordpress/coblocks/pull/2534)
+* Update wp-env package [#2532](https://github.com/godaddy-wordpress/coblocks/pull/2532)
+
3.0.3 / 2023-04-20
===================
# Bug fix
diff --git a/class-coblocks.php b/class-coblocks.php
index 6c4e33bad20..3e3e9a50592 100644
--- a/class-coblocks.php
+++ b/class-coblocks.php
@@ -4,7 +4,7 @@
* Description: CoBlocks is a suite of professional page building content blocks for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
* Author: GoDaddy
* Author URI: https://www.godaddy.com
- * Version: 3.0.3
+ * Version: 3.0.4
* Text Domain: coblocks
* Domain Path: /languages
* Tested up to: 6.2
@@ -25,7 +25,7 @@
exit;
}
-define( 'COBLOCKS_VERSION', '3.0.3' );
+define( 'COBLOCKS_VERSION', '3.0.4' );
define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
diff --git a/languages/coblocks.json b/languages/coblocks.json
index 1cc5786be0f..2090520e762 100644
--- a/languages/coblocks.json
+++ b/languages/coblocks.json
@@ -44,6 +44,7 @@
"c62b1d1200ed9b5b54bbd0be2f7307df": "Setting use to disable or enable all color controls across the site.",
"7a3b034a7ec181f22a656659fef5979b": "Setting use to disable or enable gradient controls and presets across the site.",
"f8181be62e3ba24d30ded8e90ddcf725": "Setting use to disable or enable animation controls across the site.",
+ "39449fa74c33866d565dd24ce08bf8e3": "Sorry, you are not allowed to do that.",
"091906f98c6af5c33fbbe77a870f5758": "Error processing your request.",
"e5a65b7ecbf7b213567fa205a367f27f": "A design_style must be passed.",
"967b5cc3ae728584270817e337168c5e": "An available design_style must be passed.",
@@ -106,9 +107,9 @@
"8fbc7dff508d245a37f0e51d2d2310fd": "Accordion item is open by default.",
"2eb58969718a5da27b62250bf2629328": "Toggle to set this accordion item to be open by default.",
"38b712b76b66f7701a6aa01949e71551": "Accordion Item settings",
- "0e81f1d052a62b1874fe7f1e7637cbe3": "Color settings",
"368d9ac76af05f714092bc808a426bfc": "Background color",
"5f111ae4c490902059da2004cbc8b424": "Text color",
+ "0e81f1d052a62b1874fe7f1e7637cbe3": "Color settings",
"435f806083f0e5d2738c21a7d2feef60": "Add accordion item",
"bba4fb46f5ad1713c5f14cbf5abbfc7d": "Organize content within collapsable accordion items.",
"4d5aae0b218a0bb62ff4513b66fc34d0": "Accordion",
diff --git a/languages/coblocks.pot b/languages/coblocks.pot
index 8cf57a68b82..b7d366a9434 100644
--- a/languages/coblocks.pot
+++ b/languages/coblocks.pot
@@ -1,14 +1,14 @@
# Copyright (c) 2023 GoDaddy Operating Company, LLC. All Rights Reserved.
msgid ""
msgstr ""
-"Project-Id-Version: CoBlocks 3.0.3\n"
+"Project-Id-Version: CoBlocks 3.0.4\n"
"Report-Msgid-Bugs-To: https://github.com/godaddy-wordpress/coblocks/issues\n"
"Last-Translator: plugins@godaddy.com\n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2023-04-20T20:27:47+00:00\n"
+"POT-Creation-Date: 2023-06-22T14:30:49+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: coblocks\n"
@@ -64,22 +64,22 @@ msgstr ""
msgid "Pattern Category"
msgstr ""
-#: includes/class-coblocks-block-assets.php:406
-#: includes/class-coblocks-block-assets.php:547
+#: includes/class-coblocks-block-assets.php:407
+#: includes/class-coblocks-block-assets.php:548
msgid "Previous"
msgstr ""
-#: includes/class-coblocks-block-assets.php:407
-#: includes/class-coblocks-block-assets.php:548
+#: includes/class-coblocks-block-assets.php:408
+#: includes/class-coblocks-block-assets.php:549
msgid "Next"
msgstr ""
-#: includes/class-coblocks-block-assets.php:454
+#: includes/class-coblocks-block-assets.php:455
#: src/blocks/food-and-drinks/food-item/inspector.js:36
msgid "Image"
msgstr ""
-#: includes/class-coblocks-block-assets.php:546
+#: includes/class-coblocks-block-assets.php:547
msgid "Close Gallery"
msgstr ""
@@ -271,15 +271,19 @@ msgstr ""
msgid "Setting use to disable or enable animation controls across the site."
msgstr ""
-#: includes/class-coblocks-site-design.php:311
+#: includes/class-coblocks-site-design.php:189
+msgid "Sorry, you are not allowed to do that."
+msgstr ""
+
+#: includes/class-coblocks-site-design.php:332
msgid "Error processing your request."
msgstr ""
-#: includes/class-coblocks-site-design.php:335
+#: includes/class-coblocks-site-design.php:356
msgid "A design_style must be passed."
msgstr ""
-#: includes/class-coblocks-site-design.php:347
+#: includes/class-coblocks-site-design.php:368
msgid "An available design_style must be passed."
msgstr ""
diff --git a/package.json b/package.json
index 80e4fa287dc..d4053c205f7 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "coblocks",
"title": "CoBlocks",
"description": "CoBlocks is a suite of professional page building blocks for the WordPress Gutenberg block editor.",
- "version": "3.0.3",
+ "version": "3.0.4",
"tested_up_to": "6.2",
"author": "GoDaddy",
"license": "GPL-2.0",
diff --git a/readme.txt b/readme.txt
index 9c94a122972..a70d82ba87b 100644
--- a/readme.txt
+++ b/readme.txt
@@ -5,7 +5,7 @@ Tags: page builder, Gutenberg blocks, WordPress blocks, gutenberg, blocks
Requires at least: 5.5
Tested up to: 6.2
Requires PHP: 7.4
-Stable tag: 3.0.3
+Stable tag: 3.0.4
License: GPL-2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html