Version Description
- 02.11.2018 =
- Fixed: Replace Flipbox module with et_core_sanitized_previously().
- Fixed: Text Divider module where $default variable is not define.
- Fixed: Text Badges using wrong type for color option.
Download this release
Release Info
Developer | divisupreme |
Plugin | Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6 to 1.2.7
includes/modules/Badges/Badges.php
CHANGED
@@ -155,7 +155,7 @@ class DSM_Text_Badges extends ET_Builder_Module {
|
|
155 |
),
|
156 |
'badges_background_color' => array(
|
157 |
'label' => esc_html__( 'Background Color', 'dsm-supreme-modules-for-divi' ),
|
158 |
-
'type' => 'color',
|
159 |
'custom_color' => true,
|
160 |
'default' => $et_accent_color,
|
161 |
'tab_slug' => 'advanced',
|
155 |
),
|
156 |
'badges_background_color' => array(
|
157 |
'label' => esc_html__( 'Background Color', 'dsm-supreme-modules-for-divi' ),
|
158 |
+
'type' => 'color-alpha',
|
159 |
'custom_color' => true,
|
160 |
'default' => $et_accent_color,
|
161 |
'tab_slug' => 'advanced',
|
includes/modules/FlipBoxPerk/FlipBoxPerk.php
CHANGED
@@ -145,7 +145,7 @@ class DSM_FlipBox_Perk extends ET_Builder_Module {
|
|
145 |
// Render module content
|
146 |
$output = sprintf(
|
147 |
'<div class="dsm-flipbox%2$s">%1$s</div>',
|
148 |
-
|
149 |
esc_attr( " dsm-flipbox-effect-${flipbox_effect}" )
|
150 |
);
|
151 |
|
145 |
// Render module content
|
146 |
$output = sprintf(
|
147 |
'<div class="dsm-flipbox%2$s">%1$s</div>',
|
148 |
+
et_core_sanitized_previously( $this->content ),
|
149 |
esc_attr( " dsm-flipbox-effect-${flipbox_effect}" )
|
150 |
);
|
151 |
|
includes/modules/TextDivider/TextDivider.php
CHANGED
@@ -30,6 +30,13 @@ class DSM_Text_Divider extends ET_Builder_Module {
|
|
30 |
),
|
31 |
);
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
|
35 |
public function get_advanced_fields_config() {
|
30 |
),
|
31 |
);
|
32 |
|
33 |
+
$style_option_name = sprintf( '%1$s-divider_style', $this->slug );
|
34 |
+
$global_divider_style = ET_Global_Settings::get_value( $style_option_name );
|
35 |
+
|
36 |
+
$this->defaults = array(
|
37 |
+
'divider_style' => $global_divider_style && '' !== $global_divider_style ? $global_divider_style : 'solid',
|
38 |
+
);
|
39 |
+
|
40 |
}
|
41 |
|
42 |
public function get_advanced_fields_config() {
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Divi Supreme Modules ===
|
2 |
-
Contributors: divisupreme
|
3 |
Tags: Divi, Divi Module, Divi Custom Module, divi theme, divi builder, Divi Gradient Text, Divi Typing Effect, Divi 3D Image, Divi Image, Divi Text Divider, facebook feed, facebook comments
|
4 |
Donate link: https://suprememodules.com/
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.2.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -81,6 +81,11 @@ You must have Divi theme, Extra Theme or the Divi Builder installed in order for
|
|
81 |
YES! At least Divi 3.1 onwards where they introduced the Divi Developer API.
|
82 |
|
83 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
84 |
= 1.2.6 - 02.11.2018 =
|
85 |
* Enhanced: Flush method using register_activation_hook to add_option and delete_option method instead of running in init hook to prevent this from loading on every page load.
|
86 |
|
1 |
=== Divi Supreme Modules ===
|
2 |
+
Contributors: divisupreme, kenng87
|
3 |
Tags: Divi, Divi Module, Divi Custom Module, divi theme, divi builder, Divi Gradient Text, Divi Typing Effect, Divi 3D Image, Divi Image, Divi Text Divider, facebook feed, facebook comments
|
4 |
Donate link: https://suprememodules.com/
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.2.7
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
81 |
YES! At least Divi 3.1 onwards where they introduced the Divi Developer API.
|
82 |
|
83 |
== Changelog ==
|
84 |
+
= 1.2.7 - 02.11.2018 =
|
85 |
+
* Fixed: Replace Flipbox module with et_core_sanitized_previously().
|
86 |
+
* Fixed: Text Divider module where $default variable is not define.
|
87 |
+
* Fixed: Text Badges using wrong type for color option.
|
88 |
+
|
89 |
= 1.2.6 - 02.11.2018 =
|
90 |
* Enhanced: Flush method using register_activation_hook to add_option and delete_option method instead of running in init hook to prevent this from loading on every page load.
|
91 |
|
supreme-modules-for-divi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
-
Version: 1.2.
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
@@ -36,7 +36,7 @@ if ( version_compare(PHP_VERSION, '5.6', '<') ) {
|
|
36 |
add_action( 'admin_notices', 'dsm_admin_notice__php_version_error' );
|
37 |
return;
|
38 |
} else {
|
39 |
-
define( 'DSM_VERSION', '1.2.
|
40 |
|
41 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
42 |
/**
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
+
Version: 1.2.7
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
36 |
add_action( 'admin_notices', 'dsm_admin_notice__php_version_error' );
|
37 |
return;
|
38 |
} else {
|
39 |
+
define( 'DSM_VERSION', '1.2.7' );
|
40 |
|
41 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
42 |
/**
|