diff --git a/password-protected.php b/password-protected.php index b4642b0..bc258c0 100644 --- a/password-protected.php +++ b/password-protected.php @@ -4,7 +4,7 @@ Plugin Name: Password Protected Plugin URI: http://www.benhuson.co.uk/ Description: A very simple way to quickly password protect your WordPress site with a single password. Integrates seamlessly into your WordPress privacy settings. -Version: 1.2.2 +Version: 1.3 Author: Ben Huson Author URI: http://www.benhuson.co.uk/ License: GPLv2 @@ -27,6 +27,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +/** + * @todo Use wp_hash_password() ? + */ + define( 'PASSWORD_PROTECTED_SUBDIR', '/' . str_replace( basename( __FILE__ ), '', plugin_basename( __FILE__ ) ) ); define( 'PASSWORD_PROTECTED_URL', plugins_url( PASSWORD_PROTECTED_SUBDIR ) ); define( 'PASSWORD_PROTECTED_DIR', plugin_dir_path( __FILE__ ) ); @@ -36,7 +40,7 @@ class Password_Protected { - var $version = '1.2'; + var $version = '1.3'; var $admin = null; var $errors = null; diff --git a/readme.txt b/readme.txt index 0734da2..b267e0d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,9 @@ Contributors: husobj Donate link: http://www.benhuson.co.uk/donate/ Tags: password, protect, password protect, login Requires at least: 3.0 -Tested up to: 3.3.1 -Stable tag: 1.2.2 +Tested up to: 3.4.2 +Stable tag: 1.3 +License: GPLv2 or later A very simple way to quickly password protect your WordPress site with a single password. Integrates seamlessly into your WordPress privacy settings. @@ -36,6 +37,10 @@ If you are upgrading manually via FTP rather that through the WordPress automati Install and configure the [Login Logo](http://wordpress.org/extend/plugins/login-logo/) plugin by Mark Jaquith. This will change the logo on your password entry page AND also your admin login page. += How can I enable feeds while the site is password protected? = + +In the settings, check the 'Allow Feeds' checkbox. + = How can I log out? = Just add a "password-protected=logout" query to your URL. @@ -57,6 +62,15 @@ If you can, please [fork the code](https://github.com/benhuson/password-protecte == Changelog == += 1.3 = + +* Added checkbox to allow access to feeds when protection is enabled. +* Prepare for WordPress 3.5 Settings API changes. +* Added 'password_protected_before_login_form' and 'password_protected_after_login_form' actions. +* Added 'password_protected_process_login' filter to make it possible to extend login functionality. +* Now possible to use 'pre_update_option_password_protected_password' filter to use password before it is encrypted and saved. +* Ready for [translations](http://codex.wordpress.org/I18n_for_WordPress_Developers). + = 1.2.2 = * Escape 'redirect_to' attribute. Props A. Alagha. @@ -78,3 +92,14 @@ If you can, please [fork the code](https://github.com/benhuson/password-protecte = 1.0 = * First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues). + +== Upgrade Notice == + += 1.3 = +Allow access to feeds. Ready for translation. + += 1.2 = +Use cookies instead of sessions. + += 1.1 = +Passwords saved encrypted. \ No newline at end of file