Jeg Elementor Kit - Version 2.5.6

Version Description

  • 03-11-2022 =
  • Fix: Custom Attributes in link html tag is not showing
  • Fix: 404 Template not working
  • Fix: Notice Banner showing issues
  • Tweak: Add some allowed SVG Tag and Attributes
Download this release

Release Info

Developer fauzanjegstudio
Plugin Icon 128x128 Jeg Elementor Kit
Version 2.5.6
Comparing to
See all releases

Code changes from version 2.5.5 to 2.5.6

class/banner/class-banner.php CHANGED
@@ -125,12 +125,9 @@ class Banner {
125
  * Close Button Clicked.
126
  */
127
  public function close() {
128
- $time = get_option( $this->option_name );
129
- if ( is_int( $time ) ) {
130
- $next_time = $time + $this->get_second( $this->another_time_show );
131
- update_option( $this->option_name, $next_time );
132
- }
133
 
 
134
  wp_send_json_success();
135
  }
136
 
125
  * Close Button Clicked.
126
  */
127
  public function close() {
128
+ $next_time = time() + $this->get_second( $this->another_time_show );
 
 
 
 
129
 
130
+ update_option( $this->option_name, $next_time );
131
  wp_send_json_success();
132
  }
133
 
class/elements/views/class-view-abstract.php CHANGED
@@ -86,11 +86,11 @@ class View_Abstract extends Elements_View_Abstract {
86
  * @return string
87
  */
88
  protected function render_url_element( $attr, $additional_id = null, $additional_class = null, $child_element = null, $data_attribute = null ) {
89
- $id = ! empty( $additional_id ) ? ' id="' . $additional_id . '"' : '';
90
- $class = ! empty( $additional_class ) ? ' class="' . $additional_class . '"' : '';
91
  $target = 'on' === $attr['is_external'] ? ' target="_blank" ' : '';
92
  $nofollow = 'on' === $attr['nofollow'] ? ' rel="nofollow" ' : '';
93
- $custom_attributes = '';
94
 
95
  foreach ( explode( ',', $attr['custom_attributes'] ) as $attribute ) {
96
  if ( $attribute ) {
86
  * @return string
87
  */
88
  protected function render_url_element( $attr, $additional_id = null, $additional_class = null, $child_element = null, $data_attribute = null ) {
89
+ $id = ! empty( $additional_id ) ? ' id="' . $additional_id . '" ' : '';
90
+ $class = ! empty( $additional_class ) ? ' class="' . $additional_class . '" ' : '';
91
  $target = 'on' === $attr['is_external'] ? ' target="_blank" ' : '';
92
  $nofollow = 'on' === $attr['nofollow'] ? ' rel="nofollow" ' : '';
93
+ $custom_attributes = ' ';
94
 
95
  foreach ( explode( ',', $attr['custom_attributes'] ) as $attribute ) {
96
  if ( $attribute ) {
helper.php CHANGED
@@ -710,6 +710,7 @@ if ( ! function_exists( 'jkit_allowed_html' ) ) {
710
  array(
711
  'height' => true,
712
  'width' => true,
 
713
  'class' => true,
714
  )
715
  );
@@ -726,11 +727,17 @@ if ( ! function_exists( 'jkit_allowed_html' ) ) {
726
  $allowedtags['linearGradient'] = array_merge(
727
  isset( $allowedtags['linearGradient'] ) ? $allowedtags['linearGradient'] : array(),
728
  array(
729
- 'x1' => true,
730
- 'y1' => true,
731
- 'x2' => true,
732
- 'y2' => true,
733
- 'id' => true,
 
 
 
 
 
 
734
  )
735
  );
736
 
@@ -827,7 +834,7 @@ if ( ! function_exists( 'jkit_allowed_html' ) ) {
827
 
828
  $allowedtags['style'] = array_merge( isset( $allowedtags['style'] ) ? $allowedtags['style'] : array(), array() );
829
  $allowedtags['bdi'] = array_merge( isset( $allowedtags['bdi'] ) ? $allowedtags['bdi'] : array(), array() );
830
- $allowedtags['script'] = array_merge( isset( $allowedtags['bdi'] ) ? $allowedtags['bdi'] : array(), array() );
831
 
832
  return $allowedtags;
833
  }
710
  array(
711
  'height' => true,
712
  'width' => true,
713
+ 'id' => true,
714
  'class' => true,
715
  )
716
  );
727
  $allowedtags['linearGradient'] = array_merge(
728
  isset( $allowedtags['linearGradient'] ) ? $allowedtags['linearGradient'] : array(),
729
  array(
730
+ 'gradientUnits' => true,
731
+ 'gradientTransform' => true,
732
+ 'href' => true,
733
+ 'spreadMethod' => true,
734
+ 'x1' => true,
735
+ 'x2' => true,
736
+ 'y1' => true,
737
+ 'y2' => true,
738
+ 'id' => true,
739
+ 'class' => true,
740
+ 'style' => true,
741
  )
742
  );
743
 
834
 
835
  $allowedtags['style'] = array_merge( isset( $allowedtags['style'] ) ? $allowedtags['style'] : array(), array() );
836
  $allowedtags['bdi'] = array_merge( isset( $allowedtags['bdi'] ) ? $allowedtags['bdi'] : array(), array() );
837
+ $allowedtags['script'] = array_merge( isset( $allowedtags['script'] ) ? $allowedtags['script'] : array(), array() );
838
 
839
  return $allowedtags;
840
  }
jeg-elementor-kit.php CHANGED
@@ -3,14 +3,14 @@
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.5.5
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.7.8
13
- * Elementor Pro tested up to: 3.7.7
14
  *
15
  * @author: Jegstudio
16
  * @since 1.0.0
@@ -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.5.5' );
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_BASE' ) || define( 'JEG_ELEMENTOR_KIT_BASE', plugin_basename( __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.5.6
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.8.0
13
+ * Elementor Pro tested up to: 3.8.0
14
  *
15
  * @author: Jegstudio
16
  * @since 1.0.0
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.5.6' );
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_BASE' ) || define( 'JEG_ELEMENTOR_KIT_BASE', plugin_basename( __FILE__ ) );
languages/jeg-elementor-kit.pot CHANGED
@@ -23,11 +23,11 @@ msgstr ""
23
  msgid "%s ago"
24
  msgstr ""
25
 
26
- #: jeg-elementor-kit/helper.php:870, jeg-elementor-kit/class/dashboard/class-dashboard.php:313, jeg-elementor-kit/class/dashboard/class-dashboard.php:314, jeg-elementor-kit/templates/banner/notice-banner.php:21
27
  msgid "Need Help?"
28
  msgstr ""
29
 
30
- #: jeg-elementor-kit/helper.php:871, jeg-elementor-kit/class/dashboard/class-dashboard.php:323, jeg-elementor-kit/class/dashboard/class-dashboard.php:324
31
  msgid "Rate Us"
32
  msgstr ""
33
 
23
  msgid "%s ago"
24
  msgstr ""
25
 
26
+ #: jeg-elementor-kit/helper.php:877, jeg-elementor-kit/class/dashboard/class-dashboard.php:313, jeg-elementor-kit/class/dashboard/class-dashboard.php:314, jeg-elementor-kit/templates/banner/notice-banner.php:21
27
  msgid "Need Help?"
28
  msgstr ""
29
 
30
+ #: jeg-elementor-kit/helper.php:878, jeg-elementor-kit/class/dashboard/class-dashboard.php:323, jeg-elementor-kit/class/dashboard/class-dashboard.php:324
31
  msgid "Rate Us"
32
  msgstr ""
33
 
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: 6.0.3
6
  Requires PHP: 7.0
7
- Stable tag: 2.5.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -91,6 +91,12 @@ https://elementor.com/help/requirements/ Also you can disable some widgets that
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
94
  = 2.5.5 - 28-10-2022 =
95
  * Improvement: Add Sticky Position and Box Shadow option for columns and Hide on Scroll option in Sticky Elements
96
  * Fix: Dropdown options style in Template Jeg Elementor Kit Dashboard
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: 6.1
6
  Requires PHP: 7.0
7
+ Stable tag: 2.5.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
91
 
92
  == Changelog ==
93
 
94
+ = 2.5.6 - 03-11-2022 =
95
+ * Fix: Custom Attributes in link html tag is not showing
96
+ * Fix: 404 Template not working
97
+ * Fix: Notice Banner showing issues
98
+ * Tweak: Add some allowed SVG Tag and Attributes
99
+
100
  = 2.5.5 - 28-10-2022 =
101
  * Improvement: Add Sticky Position and Box Shadow option for columns and Hide on Scroll option in Sticky Elements
102
  * Fix: Dropdown options style in Template Jeg Elementor Kit Dashboard
templates/404-template.php CHANGED
@@ -17,7 +17,7 @@ if ( 'elementor_canvas' === $page_template ) {
17
  <body <?php body_class(); ?>>
18
  <?php wp_body_open(); ?>
19
  <div id="page" class="jkit-template <?php echo esc_attr( get_jkit_template_classes( '404' ) ); ?> find-404 site">
20
- <?php echo wp_kses( \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $notfound_template, true ), wp_kses_allowed_html() ); ?>
21
  </div>
22
  <?php wp_footer(); ?>
23
  </body>
@@ -26,7 +26,7 @@ if ( 'elementor_canvas' === $page_template ) {
26
  } else {
27
  ob_start();
28
  get_header();
29
- echo wp_kses( \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $notfound_template, true ), wp_kses_allowed_html() );
30
  get_footer();
31
 
32
  echo ob_get_clean();
17
  <body <?php body_class(); ?>>
18
  <?php wp_body_open(); ?>
19
  <div id="page" class="jkit-template <?php echo esc_attr( get_jkit_template_classes( '404' ) ); ?> find-404 site">
20
+ <?php echo wp_kses( \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $notfound_template, true ), wp_kses_allowed_html( 'post' ) ); ?>
21
  </div>
22
  <?php wp_footer(); ?>
23
  </body>
26
  } else {
27
  ob_start();
28
  get_header();
29
+ echo wp_kses( \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $notfound_template, true ), wp_kses_allowed_html( 'post' ) );
30
  get_footer();
31
 
32
  echo ob_get_clean();