Skip to content

Commit

Permalink
Version 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
benhuson committed May 17, 2020
1 parent cc48389 commit 6ee71ac
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
5 changes: 3 additions & 2 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.3] - 2020-05-17

### Added
- Adds `password_protected_cookie_name` filter for the cookie name. Props [Jose Castaneda](https://github.com/jocastaneda).
Expand Down Expand Up @@ -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
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.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.

Expand Down
4 changes: 2 additions & 2 deletions 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.2.5
Version: 2.3
Author: Ben Huson
Text Domain: password-protected
Author URI: http://github.com/benhuson/password-protected/
Expand Down Expand Up @@ -42,7 +42,7 @@

class Password_Protected {

var $version = '2.2.5';
var $version = '2.3';
var $admin = null;
var $errors = null;

Expand Down
9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 6ee71ac

Please sign in to comment.