diff --git a/.dev/tests/phpunit/test-class-coblocks.php b/.dev/tests/phpunit/test-class-coblocks.php index ed28ede8b1c..89cf01f160b 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.1.5', + 'version' => '3.1.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 fae584b054d..a07a21309a8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,33 +1,23 @@ -3.1.5 / 2023-11-06 -=================== -# Enhancements -* Compatibility changes for WP 6.4 [#2568](https://github.com/godaddy-wordpress/coblocks/pull/2568) - -# Bug fix -* Fix performance around superfluous data-store selectors [#2575](https://github.com/godaddy-wordpress/coblocks/pull/2575) -* Fix missing animation scripts in some cases [#2576](https://github.com/godaddy-wordpress/coblocks/pull/2576) -* Fix php warning occurring in some cases [#2572](https://github.com/godaddy-wordpress/coblocks/pull/2572) - 3.1.4 / 2023-09-07 =================== -# Bug fix +# Bug fix * Fix missing registered scripts [#2566](https://github.com/godaddy-wordpress/coblocks/pull/2566) 3.1.3 / 2023-08-28 =================== -# Bug fix -* Fix text formatting bug [#2563](https://github.com/godaddy-wordpress/coblocks/pull/2563) -* Fix Lightbox for Masonry block [#2565](https://github.com/godaddy-wordpress/coblocks/pull/2565) - -# Misc +# Bug fix +* Fix text formatting bug [#2563](https://github.com/godaddy-wordpress/coblocks/pull/2563) +* Fix Lightbox for Masonry block [#2565](https://github.com/godaddy-wordpress/coblocks/pull/2565) + +# Misc * Set supported version to 6.1 [#2564](https://github.com/godaddy-wordpress/coblocks/pull/2564) 3.1.2 / 2023-08-10 =================== -# Bug fix -* Resolve Shape Divider bug [#2553](https://github.com/godaddy-wordpress/coblocks/pull/2553) -* Resolve Form Label warning [#2555](https://github.com/godaddy-wordpress/coblocks/pull/2555) -* Resolve Form Array condition [#2557](https://github.com/godaddy-wordpress/coblocks/pull/2557) +# Bug fix +* Resolve Shape Divider bug [#2553](https://github.com/godaddy-wordpress/coblocks/pull/2553) +* Resolve Form Label warning [#2555](https://github.com/godaddy-wordpress/coblocks/pull/2555) +* Resolve Form Array condition [#2557](https://github.com/godaddy-wordpress/coblocks/pull/2557) * Fix Form name content order [#2558](https://github.com/godaddy-wordpress/coblocks/pull/2558) diff --git a/class-coblocks.php b/class-coblocks.php index c84317d444e..2bab916030f 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.1.5 + * Version: 3.1.4 * Text Domain: coblocks * Domain Path: /languages * Tested up to: 6.4 @@ -26,7 +26,7 @@ exit; } -define( 'COBLOCKS_VERSION', '3.1.5' ); +define( 'COBLOCKS_VERSION', '3.1.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/package.json b/package.json index 9933773fd4e..3ba0de00794 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.1.5", + "version": "3.1.4", "tested_up_to": "6.4", "requires_at_least": "6.2", "author": "GoDaddy", diff --git a/readme.txt b/readme.txt index e42fed39bcb..9290fe05f0b 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: page builder, Gutenberg blocks, WordPress blocks, gutenberg, blocks Requires at least: 6.2 Tested up to: 6.4 Requires PHP: 7.4 -Stable tag: 3.1.5 +Stable tag: 3.1.4 License: GPL-2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/src/components/responsive-base-control/index.js b/src/components/responsive-base-control/index.js index ea3e26a75ba..2010198c446 100644 --- a/src/components/responsive-base-control/index.js +++ b/src/components/responsive-base-control/index.js @@ -103,7 +103,7 @@ class ResponsiveBaseControl extends Component { } if ( tabName === 'default' ) { const button = document.getElementsByClassName( `components-coblocks-dimensions-control__mobile-controls-item-${ type }--tablet` ); - button[ 0 ].click(); + button[ 0 ]?.click(); } else { const button = document.getElementsByClassName( `components-coblocks-dimensions-control__mobile-controls-item-${ type }--${ selected }` ); button[ 0 ].style.display = 'block';