Skip to content

Commit

Permalink
Update release tag and remove duplicate permission callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ingeniumed committed Jun 6, 2024
1 parent a2ff5b9 commit 20ba9fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

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

## 1.9.6

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Requires at least: 4.4
* Requires PHP: 5.6
* Tested up to: 4.9.8
* Stable tag: 1.9.6
* Stable tag: 1.9.7
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 0 additions & 2 deletions classes/class-wpcom-liveblog-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ public static function register_routes() {
'required' => false,
),
),
'permission_callback' => '__return_true',
)
);

Expand All @@ -237,7 +236,6 @@ public static function register_routes() {
'required' => false,
),
),
'permission_callback' => '__return_true',
)
);

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: liveblog
Requires at least: 4.4
Requires PHP: 5.6
Tested up to: 5.8
Stable tag: 1.9.6
Stable tag: 1.9.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down

0 comments on commit 20ba9fe

Please sign in to comment.