Version Description
- Fixed bug texts
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 5.0.8 |
Comparing to | |
See all releases |
Code changes from version 5.0.7 to 5.0.8
- classes/wp-maintenance.php +1 -1
- readme.txt +4 -1
- themes/default/functions.php +2 -2
- views/wp-maintenance-dashboard.php +1 -2
- wp-maintenance.php +2 -2
classes/wp-maintenance.php
CHANGED
@@ -717,7 +717,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
|
|
717 |
"{Logo}" => wpm_logo(),
|
718 |
"{Version}" => WPM_VERSION,
|
719 |
"{Title}" => sanitize_text_field(wpm_title()),
|
720 |
-
"{Text}" =>
|
721 |
"{Favicon}" => wpm_favicon(),
|
722 |
"{CustomCSS}" => wpm_customcss(),
|
723 |
"{Analytics}" => wpm_analytics(),
|
717 |
"{Logo}" => wpm_logo(),
|
718 |
"{Version}" => WPM_VERSION,
|
719 |
"{Title}" => sanitize_text_field(wpm_title()),
|
720 |
+
"{Text}" => wpm_text(),
|
721 |
"{Favicon}" => wpm_favicon(),
|
722 |
"{CustomCSS}" => wpm_customcss(),
|
723 |
"{Analytics}" => wpm_analytics(),
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://paypal.me/restezconnectes/20/
|
|
4 |
Tags: Maintenance, Construction, Launch, Coming soon
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.3
|
7 |
-
Stable tag: 5.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -70,6 +70,9 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
73 |
= 5.0.7 =
|
74 |
* SECURITY UPDATE
|
75 |
|
4 |
Tags: Maintenance, Construction, Launch, Coming soon
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.3
|
7 |
+
Stable tag: 5.0.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 5.0.8 =
|
74 |
+
* Fixed bug texts
|
75 |
+
|
76 |
= 5.0.7 =
|
77 |
* SECURITY UPDATE
|
78 |
|
themes/default/functions.php
CHANGED
@@ -52,7 +52,7 @@ function wpm_copyrights() {
|
|
52 |
$output = '';
|
53 |
|
54 |
if( isset($o['text_bt_maintenance']) && $o['text_bt_maintenance']!='' ) {
|
55 |
-
$output = stripslashes($o['text_bt_maintenance']);
|
56 |
}
|
57 |
if( (isset($o['add_wplogin']) && $o['add_wplogin']==1) && (isset($o['add_wplogin_title']) && $o['add_wplogin_title']!='') ) {
|
58 |
$output .= '<br /><br /><a href="'.get_admin_url().'">'.str_replace('%DASHBOARD%', '--'.__('Dashboard', 'wp-maintenance'), $o['add_wplogin_title']).'</a>';
|
@@ -103,7 +103,7 @@ function wpm_text() {
|
|
103 |
$output = '';
|
104 |
|
105 |
if( !empty($o['text_maintenance']) ) {
|
106 |
-
$output = stripslashes(
|
107 |
}
|
108 |
return $output;
|
109 |
}
|
52 |
$output = '';
|
53 |
|
54 |
if( isset($o['text_bt_maintenance']) && $o['text_bt_maintenance']!='' ) {
|
55 |
+
$output = nl2br(stripslashes($o['text_bt_maintenance']));
|
56 |
}
|
57 |
if( (isset($o['add_wplogin']) && $o['add_wplogin']==1) && (isset($o['add_wplogin_title']) && $o['add_wplogin_title']!='') ) {
|
58 |
$output .= '<br /><br /><a href="'.get_admin_url().'">'.str_replace('%DASHBOARD%', '--'.__('Dashboard', 'wp-maintenance'), $o['add_wplogin_title']).'</a>';
|
103 |
$output = '';
|
104 |
|
105 |
if( !empty($o['text_maintenance']) ) {
|
106 |
+
$output = nl2br(stripslashes($o['text_maintenance']));
|
107 |
}
|
108 |
return $output;
|
109 |
}
|
views/wp-maintenance-dashboard.php
CHANGED
@@ -73,8 +73,7 @@ $paramSocialOption = get_option('wp_maintenance_social_options');
|
|
73 |
<div style="margin-top:15px;margin-bottom:15px;"><hr /></div>
|
74 |
|
75 |
<h3><?php _e('Title and text for the maintenance page:', 'wp-maintenance'); ?></h3>
|
76 |
-
|
77 |
-
<?php _e('Text:', 'wp-maintenance'); ?><br />
|
78 |
<?php
|
79 |
$settingsTextmaintenance = array(
|
80 |
'wpautop' => true, // use wpautop?
|
73 |
<div style="margin-top:15px;margin-bottom:15px;"><hr /></div>
|
74 |
|
75 |
<h3><?php _e('Title and text for the maintenance page:', 'wp-maintenance'); ?></h3>
|
76 |
+
<input class="wpm-form-field" type="text" size="100%" name="wp_maintenance_settings[titre_maintenance]" value="<?php if( isset($paramMMode['titre_maintenance']) && $paramMMode['titre_maintenance']!='' ) { echo esc_html(stripslashes($paramMMode['titre_maintenance'])); } ?>" /><br />
|
|
|
77 |
<?php
|
78 |
$settingsTextmaintenance = array(
|
79 |
'wpautop' => true, // use wpautop?
|
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://madeby.restezconnectes.fr
|
8 |
-
* Version: 5.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', '5.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://madeby.restezconnectes.fr
|
8 |
+
* Version: 5.0.8
|
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', '5.0.8' ); }
|
40 |
|
41 |
require WPM_DIR . 'classes/wp-maintenance.php';
|
42 |
require WPM_DIR . 'classes/slider.php';
|