Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog ##

## 2.1.1 - 17 Feb 2026

* Fix authentication check for REST API requests by adding `is_user_authenticated()` method
* Authenticated users can now access the site via REST API even when maintenance mode is active


## 2.1.0 - 20 Sept 2024

* New HTML template by default with conditional lang JS
Expand Down Expand Up @@ -37,4 +43,4 @@
* Add [#4](https://github.com/BeAPI/beapi-maintenance-mode/issues/4) : implement maintenance mode to not disturb the wp-activate process.

## 1.0.0 - 02 Nov 2018
* First release
* First release
4 changes: 2 additions & 2 deletions beapi-maintenance-mode.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: BEAPI - Maintenance Mode
Version: 2.1.0
Version: 2.1.1
Plugin URI: https://github.com/BeAPI/beapi-maintenance-mode
Description: Puts your WordPress site into maintenance mode.
Author: Be API
Expand Down Expand Up @@ -36,7 +36,7 @@
}

// Plugin constants
define( 'BEAPI_MAINTENANCE_MODE_VERSION', '2.1.0' );
define( 'BEAPI_MAINTENANCE_MODE_VERSION', '2.1.1' );
define( 'BEAPI_MAINTENANCE_MODE_MIN_PHP_VERSION', '7.0' );

// Plugin URL and PATH
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ Just follow the referring note into the plugin documentation.

== Changelog ==

= 2.1.1 - 17 Feb 2026 =
- Fix authentication check for REST API requests by adding `is_user_authenticated()` method
- Authenticated users can now access the site via REST API even when maintenance mode is active

= 2.0.0 - 18 Oct 2023 =
- Breaking change : Everything is blocked by design on plugin creation, you should open IPs on code with beapi.maintenance_mode.whitelist_ips filter

Expand All @@ -107,4 +111,4 @@ Just follow the referring note into the plugin documentation.
- Add [#4](https://github.com/BeAPI/beapi-maintenance-mode/issues/4) : implement maintenance mode to not disturb the wp-activate process.

= 1.0.0 - 02 Nov 2018 =
- First release
- First release