Kadence Blocks – Gutenberg Page Builder Toolkit - Version 2.4.7

Version Description

Release Date: June 1st, 2022 * Fix: Margins inside of rows.

Download this release

Release Info

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

Code changes from version 2.4.6 to 2.4.7

dist/class-kadence-blocks-frontend.php CHANGED
@@ -8963,7 +8963,7 @@ class Kadence_Blocks_Frontend {
8963
  }
8964
  }
8965
  if ( isset( $attr['topMargin'] ) || isset( $attr['bottomMargin'] ) || isset( $attr['rightMargin'] ) || isset( $attr['leftMargin'] ) ) {
8966
- $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id );
8967
  if ( isset( $attr['topMargin'] ) ) {
8968
  $css->add_property( 'margin-top', $attr['topMargin'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
8969
  }
@@ -9325,7 +9325,7 @@ class Kadence_Blocks_Frontend {
9325
  }
9326
  }
9327
  if ( isset( $attr['topMarginT'] ) || isset( $attr['bottomMarginT'] ) || isset( $attr['rightMarginT'] ) || isset( $attr['leftMarginT'] ) ) {
9328
- $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id );
9329
  if ( isset( $attr['topMarginT'] ) ) {
9330
  $css->add_property( 'margin-top', $attr['topMarginT'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
9331
  }
@@ -9458,7 +9458,7 @@ class Kadence_Blocks_Frontend {
9458
  }
9459
  }
9460
  if ( isset( $attr['topMarginM'] ) || isset( $attr['bottomMarginM'] ) || isset( $attr['rightMarginM'] ) || isset( $attr['leftMarginM'] ) ) {
9461
- $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id );
9462
  if ( isset( $attr['topMarginM'] ) ) {
9463
  $css->add_property( 'margin-top', $attr['topMarginM'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
9464
  }
8963
  }
8964
  }
8965
  if ( isset( $attr['topMargin'] ) || isset( $attr['bottomMargin'] ) || isset( $attr['rightMargin'] ) || isset( $attr['leftMargin'] ) ) {
8966
+ $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id . ' > .kt-inside-inner-col' );
8967
  if ( isset( $attr['topMargin'] ) ) {
8968
  $css->add_property( 'margin-top', $attr['topMargin'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
8969
  }
9325
  }
9326
  }
9327
  if ( isset( $attr['topMarginT'] ) || isset( $attr['bottomMarginT'] ) || isset( $attr['rightMarginT'] ) || isset( $attr['leftMarginT'] ) ) {
9328
+ $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id . ' > .kt-inside-inner-col' );
9329
  if ( isset( $attr['topMarginT'] ) ) {
9330
  $css->add_property( 'margin-top', $attr['topMarginT'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
9331
  }
9458
  }
9459
  }
9460
  if ( isset( $attr['topMarginM'] ) || isset( $attr['bottomMarginM'] ) || isset( $attr['rightMarginM'] ) || isset( $attr['leftMarginM'] ) ) {
9461
+ $css->set_selector( '.wp-block-kadence-column.kadence-column' . $unique_id . ' > .kt-inside-inner-col' );
9462
  if ( isset( $attr['topMarginM'] ) ) {
9463
  $css->add_property( 'margin-top', $attr['topMarginM'] . ( isset( $attr['marginType'] ) ? $attr['marginType'] : 'px' ) );
9464
  }
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.4.6
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: https://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.4.6' );
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.4.7
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: https://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.4.7' );
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.9
6
  Tested up to: 6.0
7
- Stable tag: 2.4.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -76,6 +76,10 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
76
 
77
  == Changelog ==
78
 
 
 
 
 
79
  = 2.4.6 =
80
  Release Date: June 1st, 2022
81
  * Fix: Section block alignment when using max width setting.
4
  Donate link: https://www.kadencewp.com/about-us/
5
  Requires at least: 5.9
6
  Tested up to: 6.0
7
+ Stable tag: 2.4.7
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
76
 
77
  == Changelog ==
78
 
79
+ = 2.4.7 =
80
+ Release Date: June 1st, 2022
81
+ * Fix: Margins inside of rows.
82
+
83
  = 2.4.6 =
84
  Release Date: June 1st, 2022
85
  * Fix: Section block alignment when using max width setting.