Jeg Elementor Kit - Version 2.0.1

Version Description

  • 21-09-2021 =
  • Fix: Header and Footer conditions issue
  • Fix: Empty responsive value in Client Logo and Testimonials Elements
  • Fix: Mailchimp subscribe issue
  • Fix: Bootstrap conflict with Gravity Forms plugin
Download this release

Release Info

Developer jegstudio
Plugin Icon 128x128 Jeg Elementor Kit
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

class/assets/class-asset.php CHANGED
@@ -1021,8 +1021,15 @@ class Asset {
1021
  */
1022
  public function remove_form_control() {
1023
  global $pagenow;
 
1024
 
1025
- if ( 'edit.php' === $pagenow ) {
 
 
 
 
 
 
1026
  remove_action( 'admin_enqueue_scripts', array( \Jeg\Form\Form_Builder::get_instance(), 'form_control_script' ), 10 );
1027
  wp_enqueue_script(
1028
  'jeg-form-builder-script',
1021
  */
1022
  public function remove_form_control() {
1023
  global $pagenow;
1024
+ $conditions = false;
1025
 
1026
+ if ( isset( $_GET['page'] ) ) {
1027
+ if ( strpos( $_GET['page'], 'gf_' ) !== false ) {
1028
+ $conditions = true;
1029
+ }
1030
+ }
1031
+
1032
+ if ( 'edit.php' === $pagenow || $conditions ) {
1033
  remove_action( 'admin_enqueue_scripts', array( \Jeg\Form\Form_Builder::get_instance(), 'form_control_script' ), 10 );
1034
  wp_enqueue_script(
1035
  'jeg-form-builder-script',
class/elements/views/class-client-logo-view.php CHANGED
@@ -85,11 +85,11 @@ class Client_Logo_View extends View_Abstract {
85
  $prev_key = $breakpoint['key'];
86
 
87
  if ( isset( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ] ) ) {
88
- $responsive[ $breakpoint['key'] ]['items'] = $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'];
89
  }
90
 
91
  if ( isset( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ] ) ) {
92
- $responsive[ $breakpoint['key'] ]['margin'] = $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'];
93
  }
94
  }
95
 
85
  $prev_key = $breakpoint['key'];
86
 
87
  if ( isset( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ] ) ) {
88
+ $responsive[ $breakpoint['key'] ]['items'] = ! empty( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'] ) ? $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'] : $items;
89
  }
90
 
91
  if ( isset( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ] ) ) {
92
+ $responsive[ $breakpoint['key'] ]['margin'] = ! empty( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'] ) ? $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'] : $margin;
93
  }
94
  }
95
 
class/elements/views/class-mailchimp-view.php CHANGED
@@ -318,9 +318,9 @@ class Mailchimp_View extends View_Abstract {
318
  'status' => 'subscribed',
319
  'status_if_new' => 'subscribed',
320
  'merge_fields' => array(
321
- 'FNAME' => $data['first_name'],
322
- 'LNAME' => $data['last_name'],
323
- 'PHONE' => $data['phone'],
324
  ),
325
  );
326
 
318
  'status' => 'subscribed',
319
  'status_if_new' => 'subscribed',
320
  'merge_fields' => array(
321
+ 'FNAME' => isset( $data['first_name'] ) ? $data['first_name'] : '',
322
+ 'LNAME' => isset( $data['last_name'] ) ? $data['last_name'] : '',
323
+ 'PHONE' => isset( $data['phone'] ) ? $data['phone'] : '',
324
  ),
325
  );
326
 
class/elements/views/class-testimonials-view.php CHANGED
@@ -323,11 +323,11 @@ class Testimonials_View extends View_Abstract {
323
  $prev_key = $breakpoint['key'];
324
 
325
  if ( isset( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ] ) ) {
326
- $responsive[ $breakpoint['key'] ]['items'] = $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'];
327
  }
328
 
329
  if ( isset( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ] ) ) {
330
- $responsive[ $breakpoint['key'] ]['margin'] = $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'];
331
  }
332
  }
333
 
323
  $prev_key = $breakpoint['key'];
324
 
325
  if ( isset( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ] ) ) {
326
+ $responsive[ $breakpoint['key'] ]['items'] = ! empty( $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'] ) ? $this->attribute[ 'sg_setting_slide_show_responsive_' . $breakpoint['key'] ]['size'] : $items;
327
  }
328
 
329
  if ( isset( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ] ) ) {
330
+ $responsive[ $breakpoint['key'] ]['margin'] = ! empty( $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'] ) ? $this->attribute[ 'sg_setting_margin_responsive_' . $breakpoint['key'] ]['size'] : $margin;
331
  }
332
  }
333
 
class/templates/class-template.php CHANGED
@@ -250,6 +250,8 @@ class Template {
250
  break;
251
  }
252
  }
 
 
253
  }
254
 
255
  return $flag;
250
  break;
251
  }
252
  }
253
+ } else {
254
+ $flag = false;
255
  }
256
 
257
  return $flag;
jeg-elementor-kit.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Jeg Elementor Kit
4
  * Plugin URI: http://jegtheme.com/
5
  * Description: Additional highly customizable widgets for Elementor page builder
6
- * Version: 2.0.0
7
  * Author: Jegstudio
8
  * Author URI: http://jegtheme.com
9
  * License: GPLv3
10
  * Text Domain: jeg-elementor-kit
11
  *
12
- * Elementor tested up to: 3.4.3
13
  * Elementor Pro tested up to: 3.4.1
14
  *
15
  * @author: Jegstudio
@@ -25,7 +25,7 @@ add_action(
25
  function() {
26
  defined( 'JEG_ELEMENTOR_KIT' ) || define( 'JEG_ELEMENTOR_KIT', 'jeg-elementor-kit' );
27
  defined( 'JEG_ELEMENTOR_KIT_NAME' ) || define( 'JEG_ELEMENTOR_KIT_NAME', 'Jeg Elementor Kit' );
28
- defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '2.0.0' );
29
  defined( 'JEG_ELEMENTOR_KIT_URL' ) || define( 'JEG_ELEMENTOR_KIT_URL', plugins_url( JEG_ELEMENTOR_KIT ) );
30
  defined( 'JEG_ELEMENTOR_KIT_FILE' ) || define( 'JEG_ELEMENTOR_KIT_FILE', __FILE__ );
31
  defined( 'JEG_ELEMENTOR_KIT_DIR' ) || define( 'JEG_ELEMENTOR_KIT_DIR', plugin_dir_path( __FILE__ ) );
3
  * Plugin Name: Jeg Elementor Kit
4
  * Plugin URI: http://jegtheme.com/
5
  * Description: Additional highly customizable widgets for Elementor page builder
6
+ * Version: 2.0.1
7
  * Author: Jegstudio
8
  * Author URI: http://jegtheme.com
9
  * License: GPLv3
10
  * Text Domain: jeg-elementor-kit
11
  *
12
+ * Elementor tested up to: 3.4.4
13
  * Elementor Pro tested up to: 3.4.1
14
  *
15
  * @author: Jegstudio
25
  function() {
26
  defined( 'JEG_ELEMENTOR_KIT' ) || define( 'JEG_ELEMENTOR_KIT', 'jeg-elementor-kit' );
27
  defined( 'JEG_ELEMENTOR_KIT_NAME' ) || define( 'JEG_ELEMENTOR_KIT_NAME', 'Jeg Elementor Kit' );
28
+ defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '2.0.1' );
29
  defined( 'JEG_ELEMENTOR_KIT_URL' ) || define( 'JEG_ELEMENTOR_KIT_URL', plugins_url( JEG_ELEMENTOR_KIT ) );
30
  defined( 'JEG_ELEMENTOR_KIT_FILE' ) || define( 'JEG_ELEMENTOR_KIT_FILE', __FILE__ );
31
  defined( 'JEG_ELEMENTOR_KIT_DIR' ) || define( 'JEG_ELEMENTOR_KIT_DIR', plugin_dir_path( __FILE__ ) );
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: Jegstudio
3
  Tags: elementor, element, addon, widget, extension, blog, post, elementor addon, elementor widget, elementor extension, elementor element, blog post, landing page, template, template kit
4
  Requires at least: 5.0
5
- Tested up to: 5.8
6
  Requires PHP: 7.0
7
- Stable tag: 2.0.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -75,6 +75,12 @@ https://elementor.com/help/requirements/ Also you can disable some widgets that
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
78
  = 2.0.0 - 13-09-2021 =
79
  * New Feature: Header and Footer Template
80
  * Improvement: Additional Custom Breakpoints support
2
  Contributors: Jegstudio
3
  Tags: elementor, element, addon, widget, extension, blog, post, elementor addon, elementor widget, elementor extension, elementor element, blog post, landing page, template, template kit
4
  Requires at least: 5.0
5
+ Tested up to: 5.8.1
6
  Requires PHP: 7.0
7
+ Stable tag: 2.0.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 2.0.1 - 21-09-2021 =
79
+ - Fix: Header and Footer conditions issue
80
+ - Fix: Empty responsive value in Client Logo and Testimonials Elements
81
+ - Fix: Mailchimp subscribe issue
82
+ - Fix: Bootstrap conflict with Gravity Forms plugin
83
+
84
  = 2.0.0 - 13-09-2021 =
85
  * New Feature: Header and Footer Template
86
  * Improvement: Additional Custom Breakpoints support