Skip to content

Commit

Permalink
Version 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
benhuson committed Sep 24, 2020
1 parent 79e70d0 commit 085ff88
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## [2.4] - 2020-09-24

### Fixed
- Add a Nocache header to the login page redirect to prevent the browser from caching the redirect page. Props [De'Yonte W.](https://github.com/rxnlabs)
Expand Down Expand Up @@ -246,8 +246,9 @@ Check that `$_SERVER['REMOTE_ADDR']` is set.
### Added
- First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues).

[Unreleased]: https://github.com/benhuson/password-protected/compare/2.3...HEAD
[2.2.5]: https://github.com/benhuson/password-protected/compare/2.2.5...2.3
[Unreleased]: https://github.com/benhuson/password-protected/compare/2.4...HEAD
[2.4]: https://github.com/benhuson/password-protected/compare/2.3...2.4
[2.3]: https://github.com/benhuson/password-protected/compare/2.2.5...2.3
[2.2.5]: https://github.com/benhuson/password-protected/compare/2.2.4...2.2.5
[2.2.4]: https://github.com/benhuson/password-protected/compare/2.2.3...2.2.4
[2.2.3]: https://github.com/benhuson/password-protected/compare/2.2.2...2.2.3
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ If you would like to translate this plugin you can easily contribute at the [Tra
Upgrade Notice
--------------

### 2.4
Fixes to help with caching issues and favicon on login page.

### 2.3
Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters.

Expand Down
2 changes: 1 addition & 1 deletion password-protected.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Password Protected
Plugin URI: https://wordpress.org/plugins/password-protected/
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.
Version: 2.3
Version: 2.4
Author: Ben Huson
Text Domain: password-protected
Author URI: http://github.com/benhuson/password-protected/
Expand Down
13 changes: 11 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: password, protect, password protect, login
Requires at least: 4.6
Tested up to: 5.5.1
Requires PHP: 5.6
Stable tag: 2.3
Stable tag: 2.4
License: GPLv2 or later

A very simple way to quickly password protect your WordPress site with a single password.
Expand Down Expand Up @@ -79,7 +79,13 @@ If you would like to translate this plugin you can easily contribute at the [Tra
2. Password Protected settings page.

== Changelog ==


= 2.4 =
- Add a Nocache header to the login page redirect to prevent the browser from caching the redirect page. Props [De'Yonte W.](https://github.com/rxnlabs)
- Remove ‘password-protected’ query from redirects on successful login or logout.
- Check "redirect_to" query var is set in hidden form field. Props [Matthias Kittsteiner](https://wordpress.org/support/users/kittmedia/).
- Add favicon to password protected login page.

= 2.3 =
- Adds `password_protected_cookie_name` filter for the cookie name. Props [Jose Castaneda](https://github.com/jocastaneda).
- 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).
Expand Down Expand Up @@ -220,6 +226,9 @@ If you would like to translate this plugin you can easily contribute at the [Tra

== Upgrade Notice ==

= 2.4 =
Fixes to help with caching issues and favicon on login page.

= 2.3 =
Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters.

Expand Down

0 comments on commit 085ff88

Please sign in to comment.