WP Maintenance - Version 2.5.3

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.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

Files changed (2) hide show
  1. readme.txt +5 -2
  2. wp-maintenance.php +8 -6
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.2
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.2 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 2.5.2 =
74
  * Résolution de divers bugs CSS / Fixed various CSS bugs
75
 
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
  Tested up to: 4.1.1
7
+ Stable tag: 2.5.3
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.3 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
73
+ = 2.5.3 =
74
+ * Résolution de divers bugs CSS Responsive / Fixed various CSS bugs responsive mode
75
+
76
  = 2.5.2 =
77
  * Résolution de divers bugs CSS / Fixed various CSS bugs
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.2
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
@@ -14,6 +14,7 @@
14
 
15
  /*
16
  Change Log
 
17
  25/03/2015 - Résolution de divers bug CSS
18
  19/03/2015 - Résolution de divers bugs CSS, ajout d'un titre encart newsletter, ajout champs code header
19
  07/03/2015 - Résolution de divers bug CSS
@@ -68,7 +69,7 @@ function wpm_make_multilang() {
68
  }
69
 
70
  /* Ajoute la version dans les options */
71
- define('WPM_VERSION', '2.5.2');
72
  $option['wp_maintenance_version'] = WPM_VERSION;
73
  if( !get_option('wp_maintenance_version') ) {
74
  add_option('wp_maintenance_version', $option);
@@ -353,7 +354,9 @@ function wpm_maintenance_mode() {
353
  //if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
354
 
355
  /* On récupère les tailles de l'image */
356
- list($width, $height, $type, $attr) = getimagesize($paramMMode['image']);
 
 
357
 
358
  /* Date compte à rebours / Convertie en format US */
359
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
@@ -469,14 +472,14 @@ body {
469
  font-style: '.$paramMMode['font_title_style'].';
470
  font-weight: '.$paramMMode['font_title_weigth'].';
471
  font-family: '.$paramMMode['font_title'].', serif;
472
- line-height: '.($paramMMode['font_text_size']*0.9).'px;
473
  }
474
  #main #intro p {
475
  font-family: '.$paramMMode['font_text'].', serif;
476
  font-size: '.$paramMMode['font_text_size'].'px;
477
  font-style: '.$paramMMode['font_text_style'].';
478
  font-weight: '.$paramMMode['font_text_weigth'].';
479
- line-height: '.($paramMMode['font_text_size']*0.9).'px;
480
  }
481
  .wpm_copyright {
482
  font-family: '.$paramMMode['font_text_bottom'].', serif;
@@ -502,7 +505,6 @@ body {
502
  }
503
  #main #intro h3 {
504
  font-size: '.($paramMMode['font_title_size']*0.5).'px;
505
- line-height: '.($paramMMode['font_text_size']*0.1).'px;
506
  }
507
  #main #intro p {
508
  font-size: '.($paramMMode['font_text_size']*0.5).'px;
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.3
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
14
 
15
  /*
16
  Change Log
17
+ 28/03/2015 - Résolution de divers bug CSS Responsive
18
  25/03/2015 - Résolution de divers bug CSS
19
  19/03/2015 - Résolution de divers bugs CSS, ajout d'un titre encart newsletter, ajout champs code header
20
  07/03/2015 - Résolution de divers bug CSS
69
  }
70
 
71
  /* Ajoute la version dans les options */
72
+ define('WPM_VERSION', '2.5.3');
73
  $option['wp_maintenance_version'] = WPM_VERSION;
74
  if( !get_option('wp_maintenance_version') ) {
75
  add_option('wp_maintenance_version', $option);
354
  //if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
355
 
356
  /* On récupère les tailles de l'image */
357
+ if($paramMMode['image']!='') {
358
+ list($width, $height, $type, $attr) = getimagesize($paramMMode['image']);
359
+ }
360
 
361
  /* Date compte à rebours / Convertie en format US */
362
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
472
  font-style: '.$paramMMode['font_title_style'].';
473
  font-weight: '.$paramMMode['font_title_weigth'].';
474
  font-family: '.$paramMMode['font_title'].', serif;
475
+ /*line-height: '.($paramMMode['font_text_size']*0.9).'px;*/
476
  }
477
  #main #intro p {
478
  font-family: '.$paramMMode['font_text'].', serif;
479
  font-size: '.$paramMMode['font_text_size'].'px;
480
  font-style: '.$paramMMode['font_text_style'].';
481
  font-weight: '.$paramMMode['font_text_weigth'].';
482
+ /*line-height: '.($paramMMode['font_text_size']*0.9).'px;*/
483
  }
484
  .wpm_copyright {
485
  font-family: '.$paramMMode['font_text_bottom'].', serif;
505
  }
506
  #main #intro h3 {
507
  font-size: '.($paramMMode['font_title_size']*0.5).'px;
 
508
  }
509
  #main #intro p {
510
  font-size: '.($paramMMode['font_text_size']*0.5).'px;