Version Description
07.07.2020 = * Enhanced: Format and follow WordPress Coding Standards for all PHP files in /includes/. * Enhanced: PHP error shows up when Divi Theme, Extra Theme or Divi builder plugin is not activated.
Download this release
Release Info
Developer | divisupreme |
Plugin | Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder |
Version | 2.2.8 |
Comparing to | |
See all releases |
Code changes from version 2.2.7 to 2.2.8
includes/class-dsm-supreme-modules-for-divi.php
CHANGED
@@ -378,11 +378,13 @@ class Dsm_Supreme_Modules_For_Divi {
|
|
378 |
|
379 |
//Template load admin script
|
380 |
public function dsm_admin_footer_text( $footer_text ) {
|
381 |
-
$current_screen
|
382 |
-
$
|
|
|
383 |
|
384 |
-
if ( $is_divi_supreme_screen ) {
|
385 |
$footer_text = sprintf(
|
|
|
386 |
__( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'dsm-supreme-modules-for-divi' ),
|
387 |
sprintf( '<strong>%s</strong>', esc_html__( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ) ),
|
388 |
'<a href="https://wordpress.org/support/plugin/supreme-modules-for-divi/reviews/?rate=5#new-post" target="_blank" class="dsm-rating-link" data-rated="' . esc_attr__( 'Thanks :)', 'dsm-supreme-modules-for-divi' ) . '">★★★★★</a>'
|
378 |
|
379 |
//Template load admin script
|
380 |
public function dsm_admin_footer_text( $footer_text ) {
|
381 |
+
$current_screen = get_current_screen();
|
382 |
+
$is_divi_supreme_screen_footer = ( $current_screen->id == 'edit-dsm_header_footer' );
|
383 |
+
$is_divi_supreme_screen = ( $current_screen && false !== strpos( $current_screen->id, 'toplevel_page_divi_supreme_settings' ) );
|
384 |
|
385 |
+
if ( $is_divi_supreme_screen || $is_divi_supreme_screen_footer ) {
|
386 |
$footer_text = sprintf(
|
387 |
+
/* translators: 1: DiviSupreme 2:: five stars */
|
388 |
__( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'dsm-supreme-modules-for-divi' ),
|
389 |
sprintf( '<strong>%s</strong>', esc_html__( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ) ),
|
390 |
'<a href="https://wordpress.org/support/plugin/supreme-modules-for-divi/reviews/?rate=5#new-post" target="_blank" class="dsm-rating-link" data-rated="' . esc_attr__( 'Thanks :)', 'dsm-supreme-modules-for-divi' ) . '">★★★★★</a>'
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: divisupreme, kenng87
|
|
3 |
Tags: Divi, Divi Module, Divi Page Builder, divi theme, divi builder, Divi Extensions
|
4 |
Donate link: https://suprememodules.com/
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.2.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -111,6 +111,10 @@ This is a common question that we get asked here every now and then which is why
|
|
111 |
|
112 |
|
113 |
== Changelog ==
|
|
|
|
|
|
|
|
|
114 |
= 2.2.7 – 06.07.2020 =
|
115 |
* Added: Custom Icon for all Divi modules.
|
116 |
|
3 |
Tags: Divi, Divi Module, Divi Page Builder, divi theme, divi builder, Divi Extensions
|
4 |
Donate link: https://suprememodules.com/
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.2.8
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
111 |
|
112 |
|
113 |
== Changelog ==
|
114 |
+
= 2.2.8 – 07.07.2020 =
|
115 |
+
* Enhanced: Format and follow WordPress Coding Standards for all PHP files in /includes/.
|
116 |
+
* Enhanced: PHP error shows up when Divi Theme, Extra Theme or Divi builder plugin is not activated.
|
117 |
+
|
118 |
= 2.2.7 – 06.07.2020 =
|
119 |
* Added: Custom Icon for all Divi modules.
|
120 |
|
supreme-modules-for-divi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
|
4 |
* Plugin URI: https://suprememodules.com
|
5 |
* Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: Supreme Modules
|
8 |
* Author URI: https://suprememodules.com/about-us/
|
9 |
* License: GPL2
|
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'DSM_VERSION' ) ) {
|
37 |
-
define( 'DSM_VERSION', '2.2.
|
38 |
}
|
39 |
if ( ! defined( 'DSM_SHORTCODE' ) ) {
|
40 |
define( 'DSM_SHORTCODE', 'divi_shortcode' );
|
3 |
* Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
|
4 |
* Plugin URI: https://suprememodules.com
|
5 |
* Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
+
* Version: 2.2.8
|
7 |
* Author: Supreme Modules
|
8 |
* Author URI: https://suprememodules.com/about-us/
|
9 |
* License: GPL2
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'DSM_VERSION' ) ) {
|
37 |
+
define( 'DSM_VERSION', '2.2.8' );
|
38 |
}
|
39 |
if ( ! defined( 'DSM_SHORTCODE' ) ) {
|
40 |
define( 'DSM_SHORTCODE', 'divi_shortcode' );
|