Version Description
(20/07/2021) = * Misc: WordPress 5.8 compatibility
Download this release
Release Info
| Developer | creativethemeshq |
| Plugin | |
| Version | 2.4.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.4.0 to 2.4.1
- changelog.txt +3 -0
- includes/classes/wp-maintenance-mode-shortcodes.php +1 -1
- readme.txt +5 -2
- views/settings.php +14 -14
- wp-maintenance-mode.php +1 -1
changelog.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
= 2.4.0 (13/05/2021) =
|
| 2 |
* Design: add "Custom CSS" setting; Finally! :)
|
| 3 |
* Design: add "Footer links" color setting
|
| 1 |
+
= 2.4.1 (20/07/2021) =
|
| 2 |
+
* Misc: WordPress 5.8 compatibility
|
| 3 |
+
|
| 4 |
= 2.4.0 (13/05/2021) =
|
| 5 |
* Design: add "Custom CSS" setting; Finally! :)
|
| 6 |
* Design: add "Footer links" color setting
|
includes/classes/wp-maintenance-mode-shortcodes.php
CHANGED
|
@@ -9,7 +9,7 @@ if ( ! class_exists( 'WP_Maintenance_Mode_Shortcodes' ) ) {
|
|
| 9 |
class WP_Maintenance_Mode_Shortcodes {
|
| 10 |
|
| 11 |
/**
|
| 12 |
-
*
|
| 13 |
*
|
| 14 |
* @since 2.0.3
|
| 15 |
*/
|
| 9 |
class WP_Maintenance_Mode_Shortcodes {
|
| 10 |
|
| 11 |
/**
|
| 12 |
+
* Add shortcodes
|
| 13 |
*
|
| 14 |
* @since 2.0.3
|
| 15 |
*/
|
readme.txt
CHANGED
|
@@ -6,8 +6,8 @@ Author: Designmodo
|
|
| 6 |
Author URI: https://designmodo.com/
|
| 7 |
Tags: maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
| 8 |
Requires at least: 3.5
|
| 9 |
-
Tested up to: 5.
|
| 10 |
-
Stable tag: 2.4.
|
| 11 |
Requires PHP: 5.6
|
| 12 |
License: GPL-2.0+
|
| 13 |
|
|
@@ -79,6 +79,9 @@ Notice: `wp-cron.php` is excluded by default.
|
|
| 79 |
|
| 80 |
== Changelog ==
|
| 81 |
|
|
|
|
|
|
|
|
|
|
| 82 |
= 2.4.0 (13/05/2021) =
|
| 83 |
* Design: add "Custom CSS" setting; Finally! :)
|
| 84 |
* Design: add "Footer links" color setting
|
| 6 |
Author URI: https://designmodo.com/
|
| 7 |
Tags: maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
| 8 |
Requires at least: 3.5
|
| 9 |
+
Tested up to: 5.8
|
| 10 |
+
Stable tag: 2.4.1
|
| 11 |
Requires PHP: 5.6
|
| 12 |
License: GPL-2.0+
|
| 13 |
|
| 79 |
|
| 80 |
== Changelog ==
|
| 81 |
|
| 82 |
+
= 2.4.1 (20/07/2021) =
|
| 83 |
+
* Misc: WordPress 5.8 compatibility
|
| 84 |
+
|
| 85 |
= 2.4.0 (13/05/2021) =
|
| 86 |
* Design: add "Custom CSS" setting; Finally! :)
|
| 87 |
* Design: add "Footer links" color setting
|
views/settings.php
CHANGED
|
@@ -606,16 +606,16 @@ defined( 'ABSPATH' ) || exit;
|
|
| 606 |
<option value="0"<?php selected( $this->plugin_settings['modules']['ga_anonymize_ip'], 0 ); ?>><?php esc_html_e( 'No', 'wp-maintenance-mode' ); ?></option>
|
| 607 |
</select>
|
| 608 |
<p class="description">
|
| 609 |
-
<?php
|
| 610 |
-
printf(
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
);
|
| 618 |
-
?>
|
| 619 |
</p>
|
| 620 |
</td>
|
| 621 |
</tr>
|
|
@@ -631,7 +631,7 @@ printf(
|
|
| 631 |
</tbody>
|
| 632 |
</table>
|
| 633 |
|
| 634 |
-
<?php wpmm_form_hidden_fields( 'modules' ); ?>
|
| 635 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 636 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="modules" name="submit" />
|
| 637 |
</form>
|
|
@@ -818,7 +818,7 @@ printf(
|
|
| 818 |
</tbody>
|
| 819 |
</table>
|
| 820 |
|
| 821 |
-
<?php wpmm_form_hidden_fields( 'bot' ); ?>
|
| 822 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 823 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="bot" name="submit" />
|
| 824 |
</form>
|
|
@@ -894,7 +894,7 @@ printf(
|
|
| 894 |
</tbody>
|
| 895 |
</table>
|
| 896 |
|
| 897 |
-
<?php wpmm_form_hidden_fields( 'gdpr' ); ?>
|
| 898 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 899 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="gdpr" name="submit" />
|
| 900 |
</form>
|
|
@@ -902,6 +902,6 @@ printf(
|
|
| 902 |
</div>
|
| 903 |
</div>
|
| 904 |
|
| 905 |
-
<?php require_once 'sidebar.php'; ?>
|
| 906 |
</div>
|
| 907 |
</div>
|
| 606 |
<option value="0"<?php selected( $this->plugin_settings['modules']['ga_anonymize_ip'], 0 ); ?>><?php esc_html_e( 'No', 'wp-maintenance-mode' ); ?></option>
|
| 607 |
</select>
|
| 608 |
<p class="description">
|
| 609 |
+
<?php
|
| 610 |
+
printf(
|
| 611 |
+
wp_kses(
|
| 612 |
+
/* translators: Google Analytics documentation url */
|
| 613 |
+
__( 'Read about IP anonymization on <a href="%s" rel="noreferrer" target="_blank">Google Analytics</a> docs. It is always enabled on Google Analytics 4.', 'wp-maintenance-mode' ),
|
| 614 |
+
wpmm_translated_string_allowed_html()
|
| 615 |
+
),
|
| 616 |
+
esc_url( 'https://support.google.com/analytics/answer/2763052' )
|
| 617 |
+
);
|
| 618 |
+
?>
|
| 619 |
</p>
|
| 620 |
</td>
|
| 621 |
</tr>
|
| 631 |
</tbody>
|
| 632 |
</table>
|
| 633 |
|
| 634 |
+
<?php wpmm_form_hidden_fields( 'modules' ); ?>
|
| 635 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 636 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="modules" name="submit" />
|
| 637 |
</form>
|
| 818 |
</tbody>
|
| 819 |
</table>
|
| 820 |
|
| 821 |
+
<?php wpmm_form_hidden_fields( 'bot' ); ?>
|
| 822 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 823 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="bot" name="submit" />
|
| 824 |
</form>
|
| 894 |
</tbody>
|
| 895 |
</table>
|
| 896 |
|
| 897 |
+
<?php wpmm_form_hidden_fields( 'gdpr' ); ?>
|
| 898 |
<input type="submit" value="<?php esc_attr_e( 'Save settings', 'wp-maintenance-mode' ); ?>" class="button button-primary" name="submit" />
|
| 899 |
<input type="button" value="<?php esc_attr_e( 'Reset settings', 'wp-maintenance-mode' ); ?>" class="button button-secondary reset_settings" data-tab="gdpr" name="submit" />
|
| 900 |
</form>
|
| 902 |
</div>
|
| 903 |
</div>
|
| 904 |
|
| 905 |
+
<?php require_once 'sidebar.php'; ?>
|
| 906 |
</div>
|
| 907 |
</div>
|
wp-maintenance-mode.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Plugin Name: WP Maintenance Mode
|
| 6 |
* Plugin URI: https://designmodo.com/
|
| 7 |
* Description: Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon page.
|
| 8 |
-
* Version: 2.4.
|
| 9 |
* Author: Designmodo
|
| 10 |
* Author URI: https://designmodo.com/
|
| 11 |
* Twitter: designmodo
|
| 5 |
* Plugin Name: WP Maintenance Mode
|
| 6 |
* Plugin URI: https://designmodo.com/
|
| 7 |
* Description: Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon page.
|
| 8 |
+
* Version: 2.4.1
|
| 9 |
* Author: Designmodo
|
| 10 |
* Author URI: https://designmodo.com/
|
| 11 |
* Twitter: designmodo
|
