Kadence Blocks – Gutenberg Page Builder Toolkit - Version 2.1.9

Version Description

Release Date: August 17th, 2021 * Fix: Issue testimonial causing crash.

Download this release

Release Info

Developer britner
Plugin Icon 128x128 Kadence Blocks – Gutenberg Page Builder Toolkit
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.9

dist/class-kadence-blocks-frontend.php CHANGED
@@ -4204,28 +4204,28 @@ class Kadence_Blocks_Frontend {
4204
  if ( isset( $title_font['weight'] ) && ! empty( $title_font['weight'] ) && 'regular' !== $title_font['weight'] ) {
4205
  $css->add_property( 'font-weight', $css->render_font_weight( $title_font['weight'] ) );
4206
  }
4207
- if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && iseet( $title_font['margin'][0] ) && is_numeric( $title_font['margin'][0] ) ) {
4208
  $css->add_property( 'margin-top', $title_font['margin'][0] . 'px' );
4209
  }
4210
- if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && iseet( $title_font['margin'][1] ) && is_numeric( $title_font['margin'][1] ) ) {
4211
  $css->add_property( 'margin-right', $title_font['margin'][1] . 'px' );
4212
  }
4213
- if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && iseet( $title_font['margin'][2] ) && is_numeric( $title_font['margin'][2] ) ) {
4214
  $css->add_property( 'margin-bottom', $title_font['margin'][2] . 'px' );
4215
  }
4216
- if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && iseet( $title_font['margin'][3] ) && is_numeric( $title_font['margin'][3] ) ) {
4217
  $css->add_property( 'margin-left', $title_font['margin'][3] . 'px' );
4218
  }
4219
- if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && iseet( $title_font['padding'][0] ) && is_numeric( $title_font['padding'][0] ) ) {
4220
  $css->add_property( 'padding-top', $title_font['padding'][0] . 'px' );
4221
  }
4222
- if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && iseet( $title_font['padding'][1] ) && is_numeric( $title_font['padding'][1] ) ) {
4223
  $css->add_property( 'padding-right', $title_font['padding'][1] . 'px' );
4224
  }
4225
- if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && iseet( $title_font['padding'][2] ) && is_numeric( $title_font['padding'][2] ) ) {
4226
  $css->add_property( 'padding-bottom', $title_font['padding'][2] . 'px' );
4227
  }
4228
- if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && iseet( $title_font['padding'][3] ) && is_numeric( $title_font['padding'][3] ) ) {
4229
  $css->add_property( 'padding-left', $title_font['padding'][3] . 'px' );
4230
  }
4231
  if ( isset( $attr['titleMinHeight'] ) && is_array( $attr['titleMinHeight'] ) && isset( $attr['titleMinHeight'][0] ) && is_numeric( $attr['titleMinHeight'][0] ) ) {
@@ -4287,28 +4287,28 @@ class Kadence_Blocks_Frontend {
4287
  if ( isset( $content_font['weight'] ) && ! empty( $content_font['weight'] ) && 'regular' !== $content_font['weight'] ) {
4288
  $css->add_property( 'font-weight', $css->render_font_weight( $content_font['weight'] ) );
4289
  }
4290
- if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && iseet( $content_font['margin'][0] ) && is_numeric( $content_font['margin'][0] ) ) {
4291
  $css->add_property( 'margin-top', $content_font['margin'][0] . 'px' );
4292
  }
4293
- if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && iseet( $content_font['margin'][1] ) && is_numeric( $content_font['margin'][1] ) ) {
4294
  $css->add_property( 'margin-right', $content_font['margin'][1] . 'px' );
4295
  }
4296
- if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && iseet( $content_font['margin'][2] ) && is_numeric( $content_font['margin'][2] ) ) {
4297
  $css->add_property( 'margin-bottom', $content_font['margin'][2] . 'px' );
4298
  }
4299
- if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && iseet( $content_font['margin'][3] ) && is_numeric( $content_font['margin'][3] ) ) {
4300
  $css->add_property( 'margin-left', $content_font['margin'][3] . 'px' );
4301
  }
4302
- if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && iseet( $content_font['padding'][0] ) && is_numeric( $content_font['padding'][0] ) ) {
4303
  $css->add_property( 'padding-top', $content_font['padding'][0] . 'px' );
4304
  }
4305
- if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && iseet( $content_font['padding'][1] ) && is_numeric( $content_font['padding'][1] ) ) {
4306
  $css->add_property( 'padding-right', $content_font['padding'][1] . 'px' );
4307
  }
4308
- if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && iseet( $content_font['padding'][2] ) && is_numeric( $content_font['padding'][2] ) ) {
4309
  $css->add_property( 'padding-bottom', $content_font['padding'][2] . 'px' );
4310
  }
4311
- if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && iseet( $content_font['padding'][3] ) && is_numeric( $content_font['padding'][3] ) ) {
4312
  $css->add_property( 'padding-left', $content_font['padding'][3] . 'px' );
4313
  }
4314
  if ( isset( $attr['contentMinHeight'] ) && is_array( $attr['contentMinHeight'] ) && isset( $attr['contentMinHeight'][0] ) && is_numeric( $attr['contentMinHeight'][0] ) ) {
4204
  if ( isset( $title_font['weight'] ) && ! empty( $title_font['weight'] ) && 'regular' !== $title_font['weight'] ) {
4205
  $css->add_property( 'font-weight', $css->render_font_weight( $title_font['weight'] ) );
4206
  }
4207
+ if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && isset( $title_font['margin'][0] ) && is_numeric( $title_font['margin'][0] ) ) {
4208
  $css->add_property( 'margin-top', $title_font['margin'][0] . 'px' );
4209
  }
4210
+ if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && isset( $title_font['margin'][1] ) && is_numeric( $title_font['margin'][1] ) ) {
4211
  $css->add_property( 'margin-right', $title_font['margin'][1] . 'px' );
4212
  }
4213
+ if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && isset( $title_font['margin'][2] ) && is_numeric( $title_font['margin'][2] ) ) {
4214
  $css->add_property( 'margin-bottom', $title_font['margin'][2] . 'px' );
4215
  }
4216
+ if ( isset( $title_font['margin'] ) && is_array( $title_font['margin'] ) && isset( $title_font['margin'][3] ) && is_numeric( $title_font['margin'][3] ) ) {
4217
  $css->add_property( 'margin-left', $title_font['margin'][3] . 'px' );
4218
  }
4219
+ if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && isset( $title_font['padding'][0] ) && is_numeric( $title_font['padding'][0] ) ) {
4220
  $css->add_property( 'padding-top', $title_font['padding'][0] . 'px' );
4221
  }
4222
+ if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && isset( $title_font['padding'][1] ) && is_numeric( $title_font['padding'][1] ) ) {
4223
  $css->add_property( 'padding-right', $title_font['padding'][1] . 'px' );
4224
  }
4225
+ if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && isset( $title_font['padding'][2] ) && is_numeric( $title_font['padding'][2] ) ) {
4226
  $css->add_property( 'padding-bottom', $title_font['padding'][2] . 'px' );
4227
  }
4228
+ if ( isset( $title_font['padding'] ) && is_array( $title_font['padding'] ) && isset( $title_font['padding'][3] ) && is_numeric( $title_font['padding'][3] ) ) {
4229
  $css->add_property( 'padding-left', $title_font['padding'][3] . 'px' );
4230
  }
4231
  if ( isset( $attr['titleMinHeight'] ) && is_array( $attr['titleMinHeight'] ) && isset( $attr['titleMinHeight'][0] ) && is_numeric( $attr['titleMinHeight'][0] ) ) {
4287
  if ( isset( $content_font['weight'] ) && ! empty( $content_font['weight'] ) && 'regular' !== $content_font['weight'] ) {
4288
  $css->add_property( 'font-weight', $css->render_font_weight( $content_font['weight'] ) );
4289
  }
4290
+ if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && isset( $content_font['margin'][0] ) && is_numeric( $content_font['margin'][0] ) ) {
4291
  $css->add_property( 'margin-top', $content_font['margin'][0] . 'px' );
4292
  }
4293
+ if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && isset( $content_font['margin'][1] ) && is_numeric( $content_font['margin'][1] ) ) {
4294
  $css->add_property( 'margin-right', $content_font['margin'][1] . 'px' );
4295
  }
4296
+ if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && isset( $content_font['margin'][2] ) && is_numeric( $content_font['margin'][2] ) ) {
4297
  $css->add_property( 'margin-bottom', $content_font['margin'][2] . 'px' );
4298
  }
4299
+ if ( isset( $content_font['margin'] ) && is_array( $content_font['margin'] ) && isset( $content_font['margin'][3] ) && is_numeric( $content_font['margin'][3] ) ) {
4300
  $css->add_property( 'margin-left', $content_font['margin'][3] . 'px' );
4301
  }
4302
+ if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && isset( $content_font['padding'][0] ) && is_numeric( $content_font['padding'][0] ) ) {
4303
  $css->add_property( 'padding-top', $content_font['padding'][0] . 'px' );
4304
  }
4305
+ if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && isset( $content_font['padding'][1] ) && is_numeric( $content_font['padding'][1] ) ) {
4306
  $css->add_property( 'padding-right', $content_font['padding'][1] . 'px' );
4307
  }
4308
+ if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && isset( $content_font['padding'][2] ) && is_numeric( $content_font['padding'][2] ) ) {
4309
  $css->add_property( 'padding-bottom', $content_font['padding'][2] . 'px' );
4310
  }
4311
+ if ( isset( $content_font['padding'] ) && is_array( $content_font['padding'] ) && isset( $content_font['padding'][3] ) && is_numeric( $content_font['padding'][3] ) ) {
4312
  $css->add_property( 'padding-left', $content_font['padding'][3] . 'px' );
4313
  }
4314
  if ( isset( $attr['contentMinHeight'] ) && is_array( $attr['contentMinHeight'] ) && isset( $attr['contentMinHeight'][0] ) && is_numeric( $attr['contentMinHeight'][0] ) ) {
kadence-blocks.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
6
  * Author: Kadence WP
7
  * Author URI: https://www.kadencewp.com
8
- * Version: 2.1.8
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  define( 'KADENCE_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
22
  define( 'KADENCE_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
23
- define( 'KADENCE_BLOCKS_VERSION', '2.1.8' );
24
  /**
25
  * Add a check before redirecting
26
  */
5
  * Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
6
  * Author: Kadence WP
7
  * Author URI: https://www.kadencewp.com
8
+ * Version: 2.1.9
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20
 
21
  define( 'KADENCE_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
22
  define( 'KADENCE_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
23
+ define( 'KADENCE_BLOCKS_VERSION', '2.1.9' );
24
  /**
25
  * Add a check before redirecting
26
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, page builder, google fonts, dual buttons, svg icons, ed
4
  Donate link: https://www.kadencewp.com/about-us/
5
  Requires at least: 5.8
6
  Tested up to: 5.8
7
- Stable tag: 2.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -80,12 +80,16 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
80
 
81
  == Changelog ==
82
 
 
 
 
 
83
  = 2.1.8 =
84
  Release Date: August 16th, 2021
85
  * Fix: Issue testimonial title margin.
86
  * Fix: Issue with accordion and double clicks.
87
  * Fix: Small issue with section block and 5.7
88
- * Fix: Issue with heading and icon not rendering correclty in some cases.
89
 
90
  = 2.1.7 =
91
  Release Date: August 11th, 2021
4
  Donate link: https://www.kadencewp.com/about-us/
5
  Requires at least: 5.8
6
  Tested up to: 5.8
7
+ Stable tag: 2.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
80
 
81
  == Changelog ==
82
 
83
+ = 2.1.9 =
84
+ Release Date: August 17th, 2021
85
+ * Fix: Issue testimonial causing crash.
86
+
87
  = 2.1.8 =
88
  Release Date: August 16th, 2021
89
  * Fix: Issue testimonial title margin.
90
  * Fix: Issue with accordion and double clicks.
91
  * Fix: Small issue with section block and 5.7
92
+ * Fix: Issue with heading and icon not rendering correctly in some cases.
93
 
94
  = 2.1.7 =
95
  Release Date: August 11th, 2021