Page Builder Gutenberg Blocks – CoBlocks - Version 2.14.1

Version Description

Download this release

Release Info

Developer Godaddy
Plugin Icon 128x128 Page Builder Gutenberg Blocks – CoBlocks
Version 2.14.1
Comparing to
See all releases

Code changes from version 2.14.0 to 2.14.1

class-coblocks.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
5
  * Author: GoDaddy
6
  * Author URI: https://www.godaddy.com
7
- * Version: 2.14.0
8
  * Text Domain: coblocks
9
  * Domain Path: /languages
10
  * Tested up to: 5.8
@@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  exit;
26
  }
27
 
28
- define( 'COBLOCKS_VERSION', '2.14.0' );
29
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
30
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
4
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
5
  * Author: GoDaddy
6
  * Author URI: https://www.godaddy.com
7
+ * Version: 2.14.1
8
  * Text Domain: coblocks
9
  * Domain Path: /languages
10
  * Tested up to: 5.8
25
  exit;
26
  }
27
 
28
+ define( 'COBLOCKS_VERSION', '2.14.1' );
29
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
30
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: page builder, Gutenberg blocks, WordPress blocks, gutenberg, blocks
5
  Requires at least: 5.0
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 2.14.0
9
  License: GPL-2.0
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -110,10 +110,5 @@ Developers can also apply minor style touch-ups to their themes if necessary. If
110
 
111
  == Changelog ==
112
 
113
- ### Enhancements
114
- * Enhance Pricing Table block to allow any block to be nested [#1929](https://github.com/godaddy-wordpress/coblocks/pull/1929)
115
- * Update plugin versions to reflect WordPress 5.8 compatibility [#1934](https://github.com/godaddy-wordpress/coblocks/pull/1934)
116
-
117
  ### Bug Fixes
118
- * Fix button size controls on Share and Social Profiles blocks [#1932](https://github.com/godaddy-wordpress/coblocks/pull/1932)
119
- * Fix console warning on Post and Post Carousel [#1931](https://github.com/godaddy-wordpress/coblocks/pull/1931)
5
  Requires at least: 5.0
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 2.14.1
9
  License: GPL-2.0
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
110
 
111
  == Changelog ==
112
 
 
 
 
 
113
  ### Bug Fixes
114
+ * Fix Social Profiles and Share blocks error [#1937](https://github.com/godaddy-wordpress/coblocks/pull/1937)
 
src/blocks/share/index.php CHANGED
@@ -219,7 +219,7 @@ function coblocks_render_share_block( $attributes ) {
219
  $class .= ' has-colors';
220
  }
221
 
222
- if ( isset( $attributes['size'] ) && strpos( $attributes['className'], 'is-style-mask' ) === false ) {
223
  $class .= ' has-button-size-' . $attributes['size'];
224
  }
225
 
219
  $class .= ' has-colors';
220
  }
221
 
222
+ if ( isset( $attributes['size'] ) && ( isset( $attributes['className'] ) && strpos( $attributes['className'], 'is-style-mask' ) === false ) ) {
223
  $class .= ' has-button-size-' . $attributes['size'];
224
  }
225
 
src/blocks/social-profiles/index.php CHANGED
@@ -160,7 +160,7 @@ function coblocks_render_social_profiles_block( $attributes ) {
160
  $class .= ' has-colors';
161
  }
162
 
163
- if ( isset( $attributes['size'] ) && strpos( $attributes['className'], 'is-style-mask' ) === false ) {
164
  $class .= ' has-button-size-' . $attributes['size'];
165
  }
166
 
160
  $class .= ' has-colors';
161
  }
162
 
163
+ if ( isset( $attributes['size'] ) && ( isset( $attributes['className'] ) && strpos( $attributes['className'], 'is-style-mask' ) === false ) ) {
164
  $class .= ' has-button-size-' . $attributes['size'];
165
  }
166