Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder - Version 1.1.5

Version Description

  • 09.10.2018 =
  • Fixed: Flipbox PHP error.
Download this release

Release Info

Developer divisupreme
Plugin Icon 128x128 Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

includes/modules/FlipBoxPerk/FlipBoxPerk.php CHANGED
@@ -113,7 +113,6 @@ class DSM_FlipBox_Perk extends ET_Builder_Module {
113
  }
114
 
115
  public function render( $attrs, $content = null, $render_slug ) {
116
- $background_layout = $this->props['background_layout'];
117
  $flipbox_effect = $this->props['flipbox_effect'];
118
  $flipbox_speed = $this->props['flipbox_speed'];
119
  $flipbox_height = $this->props['flipbox_height'];
@@ -143,11 +142,6 @@ class DSM_FlipBox_Perk extends ET_Builder_Module {
143
  ) );
144
  }
145
 
146
- $this->add_classname( array(
147
- "et_pb_bg_layout_{$background_layout}",
148
- //"et_pb_text_align_{$text_orientation}",
149
- ));
150
-
151
  // Render module content
152
  $output = sprintf(
153
  '<div class="dsm-flipbox%2$s">%1$s</div>',
113
  }
114
 
115
  public function render( $attrs, $content = null, $render_slug ) {
 
116
  $flipbox_effect = $this->props['flipbox_effect'];
117
  $flipbox_speed = $this->props['flipbox_speed'];
118
  $flipbox_height = $this->props['flipbox_height'];
142
  ) );
143
  }
144
 
 
 
 
 
 
145
  // Render module content
146
  $output = sprintf(
147
  '<div class="dsm-flipbox%2$s">%1$s</div>',
includes/modules/FlipBoxPerkChild/FlipBoxPerkChild.php CHANGED
@@ -43,10 +43,6 @@ class DSM_FlipBox_Perk_Child extends ET_Builder_Module {
43
  ),
44
  'custom_css' => array(
45
  'toggles' => array(
46
- 'animation' => array(
47
- 'title' => esc_html__( 'Animation', 'dsm-supreme-modules-for-divi' ),
48
- 'priority' => 90,
49
- ),
50
  'attributes' => array(
51
  'title' => esc_html__( 'Attributes', 'dsm-supreme-modules-for-divi' ),
52
  'priority' => 95,
@@ -546,7 +542,7 @@ class DSM_FlipBox_Perk_Child extends ET_Builder_Module {
546
  'button_text' => $button_text,
547
  'button_url' => $button_url,
548
  'custom_icon' => $custom_icon,
549
- 'url_new_window' => $url_new_window,
550
  'display_button' => '' !== $button_url && '' !== $button_text,
551
  ) );
552
 
@@ -562,10 +558,10 @@ class DSM_FlipBox_Perk_Child extends ET_Builder_Module {
562
 
563
  if ( 'off' === $use_icon ) {
564
  $image = ( '' !== trim( $image ) ) ? sprintf(
565
- '<img src="%1$s" alt="%2$s" class="%3$s" />',
566
  esc_url( $image ),
567
- esc_attr( $alt ),
568
- esc_attr( " et_pb_animation_{$animation}" )
569
  ) : '';
570
  } else {
571
  $icon_style = sprintf( 'color: %1$s;', esc_attr( $icon_color ) );
@@ -579,9 +575,9 @@ class DSM_FlipBox_Perk_Child extends ET_Builder_Module {
579
  }
580
 
581
  $image = ( '' !== $font_icon ) ? sprintf(
582
- '<span class="et-pb-icon%2$s%3$s%4$s" style="%5$s">%1$s</span>',
583
  esc_attr( et_pb_process_font_icon( $font_icon ) ),
584
- esc_attr( " et_pb_animation_{$animation}" ),
585
  ( 'on' === $use_circle ? ' et-pb-icon-circle' : '' ),
586
  ( 'on' === $use_circle && 'on' === $use_circle_border ? ' et-pb-icon-circle-border' : '' ),
587
  $icon_style
43
  ),
44
  'custom_css' => array(
45
  'toggles' => array(
 
 
 
 
46
  'attributes' => array(
47
  'title' => esc_html__( 'Attributes', 'dsm-supreme-modules-for-divi' ),
48
  'priority' => 95,
542
  'button_text' => $button_text,
543
  'button_url' => $button_url,
544
  'custom_icon' => $custom_icon,
545
+ 'url_new_window' => $button_url_new_window,
546
  'display_button' => '' !== $button_url && '' !== $button_text,
547
  ) );
548
 
558
 
559
  if ( 'off' === $use_icon ) {
560
  $image = ( '' !== trim( $image ) ) ? sprintf(
561
+ '<img src="%1$s" alt="%2$s" />',
562
  esc_url( $image ),
563
+ esc_attr( $alt )
564
+ //esc_attr( " et_pb_animation_{$animation}" )
565
  ) : '';
566
  } else {
567
  $icon_style = sprintf( 'color: %1$s;', esc_attr( $icon_color ) );
575
  }
576
 
577
  $image = ( '' !== $font_icon ) ? sprintf(
578
+ '<span class="et-pb-icon%2$s%3$s" style="%4$s">%1$s</span>',
579
  esc_attr( et_pb_process_font_icon( $font_icon ) ),
580
+ //esc_attr( " et_pb_animation_{$animation}" ),
581
  ( 'on' === $use_circle ? ' et-pb-icon-circle' : '' ),
582
  ( 'on' === $use_circle && 'on' === $use_circle_border ? ' et-pb-icon-circle-border' : '' ),
583
  $icon_style
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.1.4
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -77,6 +77,9 @@ You must have Divi theme, Extra Theme or the Divi Builder installed in order for
77
  YES! At least Divi 3.1 onwards where they introduced the Divi Developer API.
78
 
79
  == Changelog ==
 
 
 
80
  = 1.1.4 - 08.10.2018 =
81
  * Removed: Header and Footer Template Extension - Until further notice.
82
 
5
  Requires at least: 4.5
6
  Tested up to: 4.9
7
  Requires PHP: 5.6
8
+ Stable tag: 1.1.5
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
77
  YES! At least Divi 3.1 onwards where they introduced the Divi Developer API.
78
 
79
  == Changelog ==
80
+ = 1.1.5 - 09.10.2018 =
81
+ * Fixed: Flipbox PHP error.
82
+
83
  = 1.1.4 - 08.10.2018 =
84
  * Removed: Header and Footer Template Extension - Until further notice.
85
 
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.1.4
7
  Author: Supreme Modules
8
  Author URI: https://suprememodules.com/about-us/
9
  License: GPL2
@@ -24,7 +24,7 @@ GNU General Public License for more details.
24
  You should have received a copy of the GNU General Public License
25
  along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
26
  */
27
- define( 'DSM_VERSION', '1.1.3' );
28
 
29
  if ( ! function_exists( 'dsm_initialize_extension' ) ):
30
  /**
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.1.5
7
  Author: Supreme Modules
8
  Author URI: https://suprememodules.com/about-us/
9
  License: GPL2
24
  You should have received a copy of the GNU General Public License
25
  along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
26
  */
27
+ define( 'DSM_VERSION', '1.1.5' );
28
 
29
  if ( ! function_exists( 'dsm_initialize_extension' ) ):
30
  /**