Version Description
- Bug fixed IP authorized
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 6.0.2 |
Comparing to | |
See all releases |
Code changes from version 6.0.1 to 6.0.2
- classes/wp-maintenance.php +1 -1
- readme.txt +5 -2
- wp-maintenance.php +2 -2
classes/wp-maintenance.php
CHANGED
@@ -603,7 +603,7 @@ class WP_maintenance {
|
|
603 |
|
604 |
/* Désactive le mode maintenance pour les IP définies */
|
605 |
if( isset($paramIpAddress) ) {
|
606 |
-
$lienIpAddress = explode("\n", $paramIpAddress);
|
607 |
$ip_autorized = array();
|
608 |
foreach($lienIpAddress as $ipAutorized) {
|
609 |
if( $ipAutorized!='' ) {
|
603 |
|
604 |
/* Désactive le mode maintenance pour les IP définies */
|
605 |
if( isset($paramIpAddress) ) {
|
606 |
+
$lienIpAddress = explode("\r\n", $paramIpAddress);
|
607 |
$ip_autorized = array();
|
608 |
foreach($lienIpAddress as $ipAutorized) {
|
609 |
if( $ipAutorized!='' ) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Florent73
|
|
3 |
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.
|
7 |
-
Stable tag: 6.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -71,6 +71,9 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
74 |
= 6.0.1 =
|
75 |
* Bug fixed Code Analytics
|
76 |
|
3 |
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.7
|
7 |
+
Stable tag: 6.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 6.0.2 =
|
75 |
+
* Bug fixed IP authorized
|
76 |
+
|
77 |
= 6.0.1 =
|
78 |
* Bug fixed Code Analytics
|
79 |
|
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: 6.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', '6.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: 6.0.2
|
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', '6.0.2' ); }
|
40 |
|
41 |
require WPM_DIR . 'classes/wp-maintenance.php';
|
42 |
require WPM_DIR . 'classes/slider.php';
|