Skip to content

Commit 20ba9fe

Browse files
committed
Update release tag and remove duplicate permission callback
1 parent a2ff5b9 commit 20ba9fe

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

CHANGELOG.md

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

33
## 1.9.7
4-
* Add a capability check to the preview endpoint, to prevent unauthenticated users from accessing it
4+
* Adds a capability check to the preview, authors and hashtag endpoint to prevent unauthenticated calls (#685)
55

66
## 1.9.6
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Requires at least: 4.4
77
* Requires PHP: 5.6
88
* Tested up to: 4.9.8
9-
* Stable tag: 1.9.6
9+
* Stable tag: 1.9.7
1010
* License: GPLv2 or later
1111
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
1212

classes/class-wpcom-liveblog-rest-api.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ public static function register_routes() {
211211
'required' => false,
212212
),
213213
),
214-
'permission_callback' => '__return_true',
215214
)
216215
);
217216

@@ -237,7 +236,6 @@ public static function register_routes() {
237236
'required' => false,
238237
),
239238
),
240-
'permission_callback' => '__return_true',
241239
)
242240
);
243241

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: liveblog
44
Requires at least: 4.4
55
Requires PHP: 5.6
66
Tested up to: 5.8
7-
Stable tag: 1.9.6
7+
Stable tag: 1.9.7
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

0 commit comments

Comments
 (0)