Skip to content

Commit 6ee71ac

Browse files
committed
Version 2.3
1 parent cc48389 commit 6ee71ac

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## [Unreleased]
5+
## [2.3] - 2020-05-17
66

77
### Added
88
- Adds `password_protected_cookie_name` filter for the cookie name. Props [Jose Castaneda](https://github.com/jocastaneda).
@@ -238,7 +238,8 @@ Check that `$_SERVER['REMOTE_ADDR']` is set.
238238
### Added
239239
- First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues).
240240

241-
[Unreleased]: https://github.com/benhuson/password-protected/compare/2.2.5...HEAD
241+
[Unreleased]: https://github.com/benhuson/password-protected/compare/2.3...HEAD
242+
[2.2.5]: https://github.com/benhuson/password-protected/compare/2.2.5...2.3
242243
[2.2.5]: https://github.com/benhuson/password-protected/compare/2.2.4...2.2.5
243244
[2.2.4]: https://github.com/benhuson/password-protected/compare/2.2.3...2.2.4
244245
[2.2.3]: https://github.com/benhuson/password-protected/compare/2.2.2...2.2.3

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ If you would like to translate this plugin you can easily contribute at the [Tra
6969
Upgrade Notice
7070
--------------
7171

72+
### 2.3
73+
Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters.
74+
7275
### 2.2.5
7376
Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form.
7477

password-protected.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: Password Protected
55
Plugin URI: https://wordpress.org/plugins/password-protected/
66
Description: A very simple way to quickly password protect your WordPress site with a single password. Please note: This plugin does not restrict access to uploaded files and images and does not work with some caching setups.
7-
Version: 2.2.5
7+
Version: 2.3
88
Author: Ben Huson
99
Text Domain: password-protected
1010
Author URI: http://github.com/benhuson/password-protected/
@@ -42,7 +42,7 @@
4242

4343
class Password_Protected {
4444

45-
var $version = '2.2.5';
45+
var $version = '2.3';
4646
var $admin = null;
4747
var $errors = null;
4848

readme.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: husobj
33
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DXRJDNCMK9U3N
44
Tags: password, protect, password protect, login
55
Requires at least: 4.6
6-
Tested up to: 5.3.2
6+
Tested up to: 5.4
77
Requires PHP: 5.6
8-
Stable tag: 2.2.5
8+
Stable tag: 2.3
99
License: GPLv2 or later
1010

1111
A very simple way to quickly password protect your WordPress site with a single password.
@@ -80,7 +80,7 @@ If you would like to translate this plugin you can easily contribute at the [Tra
8080

8181
== Changelog ==
8282

83-
= Unreleased =
83+
= 2.3 =
8484
- Adds `password_protected_cookie_name` filter for the cookie name. Props [Jose Castaneda](https://github.com/jocastaneda).
8585
- Let developers override the capability needed to see the options page via a `password_protected_options_page_capability` filter. Props [Nicola Peluchetti](https://github.com/nicoladj77).
8686
- Don't use a "testcookie" POST query as it is blocked by Namecheap (and possibly other hosts).
@@ -220,6 +220,9 @@ If you would like to translate this plugin you can easily contribute at the [Tra
220220

221221
== Upgrade Notice ==
222222

223+
= 2.3 =
224+
Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters.
225+
223226
= 2.2.5 =
224227
Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form.
225228

0 commit comments

Comments
 (0)