Version Description
This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 2.8.4 |
Comparing to | |
See all releases |
Code changes from version 2.8.3 to 2.8.4
- readme.txt +5 -2
- wp-maintenance.php +8 -6
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpmaintenance.info/a-propos/
|
|
4 |
Tags: WordPress.com, maintenance, atttente, pause, travaux, construction, launch, coming soon
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -49,11 +49,14 @@ Yes. Thank you for submitting your changes to update the plugin.
|
|
49 |
|
50 |
== Upgrade Notice ==
|
51 |
|
52 |
-
= 2.8.
|
53 |
This version is stable
|
54 |
|
55 |
== Changelog ==
|
56 |
|
|
|
|
|
|
|
57 |
= 2.8.3 =
|
58 |
* Allow the site to display pages by ID
|
59 |
|
4 |
Tags: WordPress.com, maintenance, atttente, pause, travaux, construction, launch, coming soon
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 2.8.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
49 |
|
50 |
== Upgrade Notice ==
|
51 |
|
52 |
+
= 2.8.4 =
|
53 |
This version is stable
|
54 |
|
55 |
== Changelog ==
|
56 |
|
57 |
+
= 2.8.4 =
|
58 |
+
* Fixed bug with Divi theme
|
59 |
+
|
60 |
= 2.8.3 =
|
61 |
* Allow the site to display pages by ID
|
62 |
|
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: https://wpmaintenance.info
|
9 |
-
* Version: 2.8.
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
@@ -56,9 +56,11 @@ function wpm_plugin_actions ( $links ) {
|
|
56 |
/* DATEPICKER */
|
57 |
add_action( 'init', 'wpm_date_picker' );
|
58 |
function wpm_date_picker() {
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
62 |
|
63 |
}
|
64 |
|
@@ -69,7 +71,7 @@ function wpm_make_multilang() {
|
|
69 |
}
|
70 |
|
71 |
/* Ajoute la version dans les options */
|
72 |
-
define('WPM_VERSION', '2.8.
|
73 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
74 |
if( !get_option('wp_maintenance_version') ) {
|
75 |
add_option('wp_maintenance_version', $option);
|
@@ -246,7 +248,6 @@ function wpm_admin_scripts() {
|
|
246 |
}
|
247 |
|
248 |
//}
|
249 |
-
add_action('admin_footer', 'wpm_print_footer_scripts');
|
250 |
function wpm_print_footer_scripts() {
|
251 |
wp_register_script('wpm-picker', WP_PLUGIN_URL.'/wp-maintenance/js/lib/picker.js');
|
252 |
wp_enqueue_script('wpm-picker');
|
@@ -271,6 +272,7 @@ function wpm_admin_styles() {
|
|
271 |
}
|
272 |
|
273 |
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
|
|
|
274 |
add_action('admin_print_scripts', 'wpm_admin_scripts');
|
275 |
add_action('admin_print_styles', 'wpm_admin_styles');
|
276 |
add_action('admin_print_scripts', 'wpm_admin_scripts');
|
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: https://wpmaintenance.info
|
9 |
+
* Version: 2.8.4
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
56 |
/* DATEPICKER */
|
57 |
add_action( 'init', 'wpm_date_picker' );
|
58 |
function wpm_date_picker() {
|
59 |
+
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance') {
|
60 |
+
wp_enqueue_script( 'jquery' );
|
61 |
+
wp_enqueue_script('jquery-ui-datepicker');
|
62 |
+
wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
|
63 |
+
}
|
64 |
|
65 |
}
|
66 |
|
71 |
}
|
72 |
|
73 |
/* Ajoute la version dans les options */
|
74 |
+
define('WPM_VERSION', '2.8.4');
|
75 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
76 |
if( !get_option('wp_maintenance_version') ) {
|
77 |
add_option('wp_maintenance_version', $option);
|
248 |
}
|
249 |
|
250 |
//}
|
|
|
251 |
function wpm_print_footer_scripts() {
|
252 |
wp_register_script('wpm-picker', WP_PLUGIN_URL.'/wp-maintenance/js/lib/picker.js');
|
253 |
wp_enqueue_script('wpm-picker');
|
272 |
}
|
273 |
|
274 |
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
|
275 |
+
add_action('admin_footer', 'wpm_print_footer_scripts');
|
276 |
add_action('admin_print_scripts', 'wpm_admin_scripts');
|
277 |
add_action('admin_print_styles', 'wpm_admin_styles');
|
278 |
add_action('admin_print_scripts', 'wpm_admin_scripts');
|