diff --git a/.dev/tests/phpunit/test-class-coblocks.php b/.dev/tests/phpunit/test-class-coblocks.php index 5656164787c..b6928c11009 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.10', + 'version' => '3.1.11', '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 86fbaa9b220..a6d74d88857 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +3.1.11 / 2024-06-13 +=================== +# Bug fix +* Fix disappearing buttons in Services block [#2613](https://github.com/godaddy-wordpress/coblocks/pull/2613) + 3.1.10 / 2024-05-30 =================== # Bug fix diff --git a/class-coblocks.php b/class-coblocks.php index dc70e973e2c..7fa428937cb 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.10 + * Version: 3.1.11 * Text Domain: coblocks * Domain Path: /languages * Tested up to: 6.5 @@ -26,7 +26,7 @@ exit; } -define( 'COBLOCKS_VERSION', '3.1.10' ); +define( 'COBLOCKS_VERSION', '3.1.11' ); 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 aac30a219e5..da223421fdd 100644 --- a/languages/coblocks.json +++ b/languages/coblocks.json @@ -1366,17 +1366,10 @@ "17b2ff45b650a5d5d38a41264c5785bd": "Add up to four columns of services to display.", "9f034b63948763d489f944319c2eb3de": "features", "2e35075fac709ab206579efa0c222f67": "Services settings", - "ca18ac5b2c7f098b57d3ae75da8fce14": "Display buttons", - "fd0e82040e5d3afb83321e57b8741dde": "Showing the call to action buttons.", - "5bd1a891b90535012f6eb2431dbbcadf": "Toggle to show call to action buttons.", "a09d9f31867cadddcc14f859b40e2560": "Write title…", "00230ecda62f280e9024408150f7c92d": "Write description…", "c2ba7e785c49050f48da9aacc45c2b85": "Service", "689f6325a26bff85c988ab64c9b284a3": "A single service item within a services block.", - "dc421fc955527cfcd56880cfedcbcdfe": "Service settings", - "73c325e3448ad27fec137dd9832c4a01": "Display button", - "c2af94e1bb7fce83460e954d1fcba5d3": "Showing the call to action button.", - "d85bb32d6a8712a6b58394b3d7b1d34c": "Toggle to show a call to action button.", "a76097c69d38cdf75d2a1f31b72168e2": "Flip horiztonally", "9e0f97ca38e0d74e484a1d4692287b6d": "Flip vertically", "3dd971eb0a2385db4f30e71a456daf8a": "Shape Divider", diff --git a/languages/coblocks.pot b/languages/coblocks.pot index ef78de45e49..cd09ca74f63 100644 --- a/languages/coblocks.pot +++ b/languages/coblocks.pot @@ -1,14 +1,14 @@ # Copyright (c) 2024 GoDaddy Operating Company, LLC. All Rights Reserved. msgid "" msgstr "" -"Project-Id-Version: CoBlocks 3.1.10\n" +"Project-Id-Version: CoBlocks 3.1.11\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: 2024-05-30T16:08:59+00:00\n" +"POT-Creation-Date: 2024-06-13T21:16:38+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: coblocks\n" @@ -1302,7 +1302,7 @@ msgstr "" #: src/blocks/food-and-drinks/inspector.js:102 #: src/blocks/post-carousel/inspector.js:85 #: src/blocks/posts/inspector.js:171 -#: src/blocks/services/inspector.js:67 +#: src/blocks/services/inspector.js:66 #: src/blocks/testimonials/inspector.js:34 msgid "Columns" msgstr "" @@ -1406,14 +1406,14 @@ msgstr "" #: src/blocks/food-and-drinks/food-item/edit.js:181 #: src/blocks/gallery-collage/edit.js:127 -#: src/blocks/services/service/edit.js:129 +#: src/blocks/services/service/edit.js:95 #: src/blocks/testimonials/testimonial/edit.js:158 msgid "Drop image to replace" msgstr "" #: src/blocks/food-and-drinks/food-item/edit.js:195 #: src/blocks/gallery-collage/edit.js:170 -#: src/blocks/services/service/edit.js:149 +#: src/blocks/services/service/edit.js:115 #: src/blocks/testimonials/testimonial/edit.js:190 #: src/components/block-gallery/gallery-image.js:224 msgid "Remove image" @@ -1486,7 +1486,7 @@ msgid "Item attributes" msgstr "" #: src/blocks/food-and-drinks/food-item/inspector.js:97 -#: src/blocks/services/service/inspector.js:30 +#: src/blocks/services/service/inspector.js:17 #: src/blocks/testimonials/testimonial/inspector.js:71 msgid "Image settings" msgstr "" @@ -1494,7 +1494,7 @@ msgstr "" #: src/blocks/food-and-drinks/food-item/inspector.js:99 #: src/blocks/gif/inspector.js:30 #: src/blocks/media-card/inspector.js:95 -#: src/blocks/services/service/inspector.js:32 +#: src/blocks/services/service/inspector.js:19 #: src/blocks/testimonials/testimonial/inspector.js:130 msgid "Alt text (alternative text)" msgstr "" @@ -1502,7 +1502,7 @@ msgstr "" #: src/blocks/food-and-drinks/food-item/inspector.js:105 #: src/blocks/gif/inspector.js:36 #: src/blocks/media-card/inspector.js:101 -#: src/blocks/services/service/inspector.js:38 +#: src/blocks/services/service/inspector.js:25 #: src/blocks/testimonials/testimonial/inspector.js:125 msgid "Describe the purpose of the image" msgstr "" @@ -1510,13 +1510,13 @@ msgstr "" #: src/blocks/food-and-drinks/food-item/inspector.js:107 #: src/blocks/gif/inspector.js:38 #: src/blocks/media-card/inspector.js:103 -#: src/blocks/services/service/inspector.js:40 +#: src/blocks/services/service/inspector.js:27 #: src/blocks/testimonials/testimonial/inspector.js:127 msgid "Leave empty if the image is purely decorative." msgstr "" #: src/blocks/food-and-drinks/food-item/inspector.js:112 -#: src/blocks/services/service/inspector.js:45 +#: src/blocks/services/service/inspector.js:32 #: src/blocks/testimonials/testimonial/inspector.js:135 #: src/components/background/panel.js:197 msgid "Focal point" @@ -1670,7 +1670,7 @@ msgstr "" #: src/blocks/map/inspector.js:82 #: src/blocks/posts/inspector.js:306 #: src/blocks/row/inspector.js:127 -#: src/blocks/services/inspector.js:31 +#: src/blocks/services/inspector.js:30 msgid "Styles" msgstr "" @@ -2441,13 +2441,13 @@ msgid "Collage Gallery" msgstr "" #: src/blocks/gallery-collage/edit.js:156 -#: src/blocks/services/service/edit.js:154 +#: src/blocks/services/service/edit.js:120 #: src/components/block-gallery/gallery-image.js:209 msgid "Replace Image" msgstr "" #: src/blocks/gallery-collage/edit.js:159 -#: src/blocks/services/service/edit.js:157 +#: src/blocks/services/service/edit.js:123 #: src/components/block-gallery/gallery-image.js:212 msgid "Replace" msgstr "" @@ -8915,29 +8915,17 @@ msgstr "" msgid "features" msgstr "" -#: src/blocks/services/inspector.js:65 +#: src/blocks/services/inspector.js:64 msgid "Services settings" msgstr "" -#: src/blocks/services/inspector.js:75 -msgid "Display buttons" -msgstr "" - -#: src/blocks/services/inspector.js:79 -msgid "Showing the call to action buttons." -msgstr "" - -#: src/blocks/services/inspector.js:80 -msgid "Toggle to show call to action buttons." -msgstr "" - #. translators: placeholder text for input box -#: src/blocks/services/service/edit.js:219 +#: src/blocks/services/service/edit.js:184 msgid "Write title…" msgstr "" #. translators: content placeholder -#: src/blocks/services/service/edit.js:228 +#: src/blocks/services/service/edit.js:193 msgid "Write description…" msgstr "" @@ -8951,22 +8939,6 @@ msgstr "" msgid "A single service item within a services block." msgstr "" -#: src/blocks/services/service/inspector.js:17 -msgid "Service settings" -msgstr "" - -#: src/blocks/services/service/inspector.js:19 -msgid "Display button" -msgstr "" - -#: src/blocks/services/service/inspector.js:22 -msgid "Showing the call to action button." -msgstr "" - -#: src/blocks/services/service/inspector.js:23 -msgid "Toggle to show a call to action button." -msgstr "" - #: src/blocks/shape-divider/controls.js:28 msgid "Flip horiztonally" msgstr "" diff --git a/package.json b/package.json index f59dbdfefc9..e952cad2bd1 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.10", + "version": "3.1.11", "tested_up_to": "6.5", "requires_at_least": "6.3", "author": "GoDaddy", diff --git a/readme.txt b/readme.txt index 5c100ff1115..c58b70a7923 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: page builder, Gutenberg blocks, WordPress blocks, gutenberg, blocks Requires at least: 6.3 Tested up to: 6.5 Requires PHP: 7.4 -Stable tag: 3.1.10 +Stable tag: 3.1.11 License: GPL-2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html