Skip to content

Commit 5a8ac4e

Browse files
authored
Merge pull request #17 from BeAPI/release-2.1.1
Add release note 2.1.1
2 parents fb72116 + 456cf47 commit 5a8ac4e

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog ##
22

3+
## 2.1.1 - 17 Feb 2026
4+
5+
* Fix authentication check for REST API requests by adding `is_user_authenticated()` method
6+
* Authenticated users can now access the site via REST API even when maintenance mode is active
7+
8+
39
## 2.1.0 - 20 Sept 2024
410

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

3945
## 1.0.0 - 02 Nov 2018
40-
* First release
46+
* First release

beapi-maintenance-mode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Plugin Name: BEAPI - Maintenance Mode
4-
Version: 2.1.0
4+
Version: 2.1.1
55
Plugin URI: https://github.com/BeAPI/beapi-maintenance-mode
66
Description: Puts your WordPress site into maintenance mode.
77
Author: Be API
@@ -36,7 +36,7 @@
3636
}
3737

3838
// Plugin constants
39-
define( 'BEAPI_MAINTENANCE_MODE_VERSION', '2.1.0' );
39+
define( 'BEAPI_MAINTENANCE_MODE_VERSION', '2.1.1' );
4040
define( 'BEAPI_MAINTENANCE_MODE_MIN_PHP_VERSION', '7.0' );
4141

4242
// Plugin URL and PATH

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ Just follow the referring note into the plugin documentation.
8989

9090
== Changelog ==
9191

92+
= 2.1.1 - 17 Feb 2026 =
93+
- Fix authentication check for REST API requests by adding `is_user_authenticated()` method
94+
- Authenticated users can now access the site via REST API even when maintenance mode is active
95+
9296
= 2.0.0 - 18 Oct 2023 =
9397
- Breaking change : Everything is blocked by design on plugin creation, you should open IPs on code with beapi.maintenance_mode.whitelist_ips filter
9498

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

109113
= 1.0.0 - 02 Nov 2018 =
110-
- First release
114+
- First release

0 commit comments

Comments
 (0)