WP Maintenance - Version 1.4

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

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

Code changes from version 1.3 to 1.4

Files changed (2) hide show
  1. readme.txt +5 -2
  2. wp-maintenance.php +4 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
- Stable tag: 1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,12 +65,15 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
65
 
66
  == Upgrade Notice ==
67
 
68
- = 1.3 =
69
  Cette version est stable / This version is stable
70
 
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 1.3 =
75
  * Correction traduction et fichier désinstallation / Resolved translation bug and uninstall file
76
 
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
+ Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Upgrade Notice ==
67
 
68
+ = 1.4 =
69
  Cette version est stable / This version is stable
70
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.4 =
75
+ * Correction bug maintenance.php / Resolved bug maintenance.php file
76
+
77
  = 1.3 =
78
  * Correction traduction et fichier désinstallation / Resolved translation bug and uninstall file
79
 
wp-maintenance.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance/
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 / 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 and countdown.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
- Version: 1.3
10
  */
11
 
12
 
@@ -55,7 +55,7 @@ function wpm_make_multilang() {
55
  }
56
 
57
  /* Ajoute la version dans les options */
58
- define('WPM_VERSION', '1.3');
59
  $option['wp_maintenance_version'] = WPM_VERSION;
60
  if( !get_option('wp_maintenance_version') ) {
61
  add_option('wp_maintenance_version', $option);
@@ -423,9 +423,8 @@ function wpm_maintenance_mode() {
423
  if($paramMMode['pageperso']==1) {
424
 
425
  $urlTpl = get_stylesheet_directory();
426
- //$content = file_get_contents( $urlTpl. '/maintenance.php' );
427
- $content = file_get_contents( WP_PLUGIN_URL.'/wp-maintenance/theme/launcher2/' );
428
-
429
  } else {
430
 
431
  $site_title = get_bloginfo( 'name', 'display' );
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 / 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 and countdown.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
+ Version: 1.4
10
  */
11
 
12
 
55
  }
56
 
57
  /* Ajoute la version dans les options */
58
+ define('WPM_VERSION', '1.4');
59
  $option['wp_maintenance_version'] = WPM_VERSION;
60
  if( !get_option('wp_maintenance_version') ) {
61
  add_option('wp_maintenance_version', $option);
423
  if($paramMMode['pageperso']==1) {
424
 
425
  $urlTpl = get_stylesheet_directory();
426
+ $content = file_get_contents( $urlTpl. '/maintenance.php' );
427
+
 
428
  } else {
429
 
430
  $site_title = get_bloginfo( 'name', 'display' );