From 6ee71acbc3a715f651ee0cef8944d53118e99502 Mon Sep 17 00:00:00 2001 From: Ben Huson Date: Sun, 17 May 2020 23:41:51 +0100 Subject: [PATCH] Version 2.3 --- CHANGELOG.md | 5 +++-- README.md | 3 +++ password-protected.php | 4 ++-- readme.txt | 9 ++++++--- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b5102..3371889 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.3] - 2020-05-17 ### Added - 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. ### 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.2.5...HEAD +[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 [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 d51b9fb..9f6d2e6 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.3 +Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters. + ### 2.2.5 Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form. diff --git a/password-protected.php b/password-protected.php index 71d712c..23c0e6c 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.2.5 +Version: 2.3 Author: Ben Huson Text Domain: password-protected Author URI: http://github.com/benhuson/password-protected/ @@ -42,7 +42,7 @@ class Password_Protected { - var $version = '2.2.5'; + var $version = '2.3'; var $admin = null; var $errors = null; diff --git a/readme.txt b/readme.txt index 4cbbbaf..4f8ccc1 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: husobj Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DXRJDNCMK9U3N Tags: password, protect, password protect, login Requires at least: 4.6 -Tested up to: 5.3.2 +Tested up to: 5.4 Requires PHP: 5.6 -Stable tag: 2.2.5 +Stable tag: 2.3 License: GPLv2 or later 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 == Changelog == -= Unreleased = += 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). - 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 == Upgrade Notice == += 2.3 = +Fixed an issue with "testcookie" on some hosts. Added `password_protected_cookie_name` and `password_protected_options_page_capability` filters. + = 2.2.5 = Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form.