Version Description
= 4.0. = * Bug iframe fixed
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- classes/wp-maintenance.php +6 -3
- readme.txt +4 -5
- wp-maintenance.php +2 -2
classes/wp-maintenance.php
CHANGED
@@ -838,7 +838,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
|
|
838 |
$Texte = '';
|
839 |
}
|
840 |
$wysijaStyle = '/* no NEWLETTER Style */';
|
841 |
-
if( isset($paramMMode['newletter']) && $paramMMode['newletter']==1
|
842 |
|
843 |
if( empty($paramMMode['color_field_text']) ) { $paramMMode['color_field_text'] = '#333333'; }
|
844 |
if( empty($paramMMode['color_text_button']) ) { $paramMMode['color_text_button']= '#ffffff'; }
|
@@ -858,7 +858,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
|
|
858 |
"#_COLOR_BTN_CLICK" => $paramMMode['color_button_onclick']
|
859 |
);
|
860 |
|
861 |
-
if( strpos($paramMMode['code_newletter'], 'wysija_form') == 1 ) {
|
862 |
|
863 |
$wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_wysija_style() );
|
864 |
|
@@ -867,7 +867,10 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
|
|
867 |
$wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_mc4wp_style() );
|
868 |
|
869 |
}
|
870 |
-
$newLetter = '<div class="wpm_newletter">'
|
|
|
|
|
|
|
871 |
if( isset($paramMMode['type_newletter']) && isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' && $paramMMode['type_newletter']=='iframe' ) {
|
872 |
$newLetter .= stripslashes($paramMMode['iframe_newletter']);
|
873 |
}
|
838 |
$Texte = '';
|
839 |
}
|
840 |
$wysijaStyle = '/* no NEWLETTER Style */';
|
841 |
+
if( isset($paramMMode['newletter']) && $paramMMode['newletter']==1 ) {
|
842 |
|
843 |
if( empty($paramMMode['color_field_text']) ) { $paramMMode['color_field_text'] = '#333333'; }
|
844 |
if( empty($paramMMode['color_text_button']) ) { $paramMMode['color_text_button']= '#ffffff'; }
|
858 |
"#_COLOR_BTN_CLICK" => $paramMMode['color_button_onclick']
|
859 |
);
|
860 |
|
861 |
+
if( isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' && strpos($paramMMode['code_newletter'], 'wysija_form') == 1 ) {
|
862 |
|
863 |
$wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_wysija_style() );
|
864 |
|
867 |
$wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_mc4wp_style() );
|
868 |
|
869 |
}
|
870 |
+
$newLetter = '<div class="wpm_newletter">';
|
871 |
+
if( isset($paramMMode['title_newletter']) && $paramMMode['title_newletter']!='') {
|
872 |
+
$newLetter .= '<div>'.stripslashes($paramMMode['title_newletter']).'</div>';
|
873 |
+
}
|
874 |
if( isset($paramMMode['type_newletter']) && isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' && $paramMMode['type_newletter']=='iframe' ) {
|
875 |
$newLetter .= stripslashes($paramMMode['iframe_newletter']);
|
876 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Florent73
|
|
3 |
Donate link: https://wpmaintenance.info/a-propos/
|
4 |
Tags: Maintenance, Construction, Launch, Coming soon
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,9 +67,8 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
|
|
67 |
|
68 |
== Upgrade Notice ==
|
69 |
|
70 |
-
= 4.0 =
|
71 |
-
*
|
72 |
-
* Adding input for logo size
|
73 |
|
74 |
== Changelog ==
|
75 |
|
3 |
Donate link: https://wpmaintenance.info/a-propos/
|
4 |
Tags: Maintenance, Construction, Launch, Coming soon
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.9.6
|
7 |
+
Stable tag: 4.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
== Upgrade Notice ==
|
69 |
|
70 |
+
= 4.0. =
|
71 |
+
* Bug iframe fixed
|
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
wp-maintenance.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
|
6 |
* Author: Florent Maillefaud
|
7 |
* Author URI: https://wpmaintenance.info
|
8 |
-
* Version: 4.0
|
9 |
* Text Domain: wp-maintenance
|
10 |
* Domain Path: /languages/
|
11 |
*/
|
@@ -36,7 +36,7 @@ define( 'WPM_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
|
36 |
define( 'WPM_PLUGIN_URL', plugins_url().'/'.strtolower('wp-maintenance').'/');
|
37 |
define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
|
38 |
|
39 |
-
if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '4.0' ); }
|
40 |
|
41 |
require WPM_DIR . 'classes/wp-maintenance.php';
|
42 |
require WPM_DIR . 'classes/slider.php';
|
5 |
* Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
|
6 |
* Author: Florent Maillefaud
|
7 |
* Author URI: https://wpmaintenance.info
|
8 |
+
* Version: 4.0.1
|
9 |
* Text Domain: wp-maintenance
|
10 |
* Domain Path: /languages/
|
11 |
*/
|
36 |
define( 'WPM_PLUGIN_URL', plugins_url().'/'.strtolower('wp-maintenance').'/');
|
37 |
define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
|
38 |
|
39 |
+
if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '4.0.1' ); }
|
40 |
|
41 |
require WPM_DIR . 'classes/wp-maintenance.php';
|
42 |
require WPM_DIR . 'classes/slider.php';
|