WP Maintenance - Version 2.5.7

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

Developer Florent73
Plugin Icon 128x128 WP Maintenance
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

Files changed (2) hide show
  1. readme.txt +6 -3
  2. wp-maintenance.php +4 -8
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Florent73
3
  Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
- Tested up to: 4.1.1
7
- Stable tag: 2.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,11 +65,14 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
65
 
66
  == Upgrade Notice ==
67
 
68
- = 2.5.6 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 2.5.6 =
74
  * Résolution d'un bug sur le message de fin du compteur / Fixed a bug on the end of message counter
75
 
3
  Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
+ Tested up to: 4.2.1
7
+ Stable tag: 2.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Upgrade Notice ==
67
 
68
+ = 2.5.7 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
73
+ = 2.5.7 =
74
+ * Résolution bug fonction php / Fixed bug php function
75
+
76
  = 2.5.6 =
77
  * Résolution d'un bug sur le message de fin du compteur / Fixed a bug on the end of message counter
78
 
wp-maintenance.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours, etc... / 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...
7
  * Author: Florent Maillefaud
8
  * Author URI: http://www.restezconnectes.fr/
9
- * Version: 2.5.6
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
@@ -14,6 +14,7 @@
14
 
15
  /*
16
  Change Log
 
17
  18/04/2015 - Fixed a bug on the end of message counter
18
  16/04/2015 - Résolution de divers bug CSS
19
  28/03/2015 - Résolution de divers bug CSS Responsive
@@ -71,7 +72,7 @@ function wpm_make_multilang() {
71
  }
72
 
73
  /* Ajoute la version dans les options */
74
- define('WPM_VERSION', '2.5.5');
75
  $option['wp_maintenance_version'] = WPM_VERSION;
76
  if( !get_option('wp_maintenance_version') ) {
77
  add_option('wp_maintenance_version', $option);
@@ -355,11 +356,6 @@ function wpm_maintenance_mode() {
355
  //if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
356
  //if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
357
 
358
- /* On récupère les tailles de l'image */
359
- if($paramMMode['image']!='') {
360
- list($width, $height, $type, $attr) = getimagesize($paramMMode['image']);
361
- }
362
-
363
  /* Date compte à rebours / Convertie en format US */
364
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
365
  $dateCpt = date('m/d/Y h:i A', $timestamp);
@@ -541,7 +537,7 @@ body {
541
  if($paramMMode['image']) {
542
  $content .= '
543
  <div id="header" class="full">
544
- <div id="logo"><img src="'.$paramMMode['image'].'" '.$attr.' /></div>
545
  </div>
546
  ';
547
  }
6
  * Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours, etc... / 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...
7
  * Author: Florent Maillefaud
8
  * Author URI: http://www.restezconnectes.fr/
9
+ * Version: 2.5.7
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
14
 
15
  /*
16
  Change Log
17
+ 30/04/2015 - Résolution bug fonction php / Fixed bug php function
18
  18/04/2015 - Fixed a bug on the end of message counter
19
  16/04/2015 - Résolution de divers bug CSS
20
  28/03/2015 - Résolution de divers bug CSS Responsive
72
  }
73
 
74
  /* Ajoute la version dans les options */
75
+ define('WPM_VERSION', '2.5.7');
76
  $option['wp_maintenance_version'] = WPM_VERSION;
77
  if( !get_option('wp_maintenance_version') ) {
78
  add_option('wp_maintenance_version', $option);
356
  //if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
357
  //if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
358
 
 
 
 
 
 
359
  /* Date compte à rebours / Convertie en format US */
360
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
361
  $dateCpt = date('m/d/Y h:i A', $timestamp);
537
  if($paramMMode['image']) {
538
  $content .= '
539
  <div id="header" class="full">
540
+ <div id="logo"><img src="'.$paramMMode['image'].'" /></div>
541
  </div>
542
  ';
543
  }