From 085ff88bacdaaf9ec08c0fcdf079ef183297516b Mon Sep 17 00:00:00 2001 From: Ben Huson Date: Thu, 24 Sep 2020 23:23:07 +0100 Subject: [PATCH] Version 2.4 --- CHANGELOG.md | 7 ++++--- README.md | 3 +++ password-protected.php | 2 +- readme.txt | 13 +++++++++++-- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c52630a..64980ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) @@ -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 diff --git a/README.md b/README.md index 9f6d2e6..73a7e0e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/password-protected.php b/password-protected.php index eaf0512..1b85b78 100644 --- a/password-protected.php +++ b/password-protected.php @@ -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/ diff --git a/readme.txt b/readme.txt index 77b6c9c..73b5e8b 100644 --- a/readme.txt +++ b/readme.txt @@ -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. @@ -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). @@ -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.