Skip to content

Commit

Permalink
Version 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benhuson committed Oct 29, 2015
1 parent b5668aa commit fed4758
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
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 on WP Engine or with some caching setups.
Version: 2.0.1
Version: 2.0.2
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.0.1';
var $version = '2.0.2';
var $admin = null;
var $errors = null;

Expand Down
17 changes: 15 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: husobj
Tags: password, protect, password protect, login
Requires at least: 3.5
Tested up to: 4.2.3
Stable tag: 2.0.1
Tested up to: 4.3.1
Stable tag: 2.0.2
License: GPLv2 or later

A very simple way to quickly password protect your WordPress site with a single password.
Expand Down Expand Up @@ -59,6 +59,9 @@ You must be an administrator (have the manage_options capability) and in the Pas
Just add a "password-protected=logout" query to your URL.
eg. http://www.example.com/?password-protected=logout

= How can I redirect to a different domain name when logging out? =
If passing a redirect URL using 'redirect_to' when logging out you need you may need to use the [allowed domain names](https://codex.wordpress.org/Plugin_API/Filter_Reference/allowed_redirect_hosts) filter to allow redirecting to an external domain.

= Where can I report bugs and issues? =
Please log issues and bugs on the plugin's [GitHub page](https://github.com/benhuson/password-protected/issues).
You can also submit suggested enhancements if you like.
Expand All @@ -77,6 +80,10 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o

== Changelog ==

= 2.0.2 =
* Only redirect to [allowed domain names](https://codex.wordpress.org/Plugin_API/Filter_Reference/allowed_redirect_hosts) when logging out.
* Check allowed IP addresses are valid when saving.

= 2.0.1 =
* Security fix: Use a more complex password hash for cookie key. Props Marcin Bury, [Securitum](http://securitum.pl).
* Split logout functionality into separate function.
Expand Down Expand Up @@ -167,6 +174,12 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o

== Upgrade Notice ==

= 2.0.2 =
Only redirect to [allowed domain names](https://codex.wordpress.org/Plugin_API/Filter_Reference/allowed_redirect_hosts) when logging out.

= 2.0.1 =
Security fix: Use a more complex password hash for cookie key.

= 2.0 =
Added 'password_protected_logout_link' shortcode and use 'password-protected-login.css' in theme folder if it exists.

Expand Down

0 comments on commit fed4758

Please sign in to comment.