Version Description
Cette version est stable / This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- readme.txt +5 -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.
|
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.
|
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.
|
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.
|
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 |
-
|
427 |
-
|
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' );
|