Skip to content

Commit

Permalink
Add changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchatfield committed Apr 28, 2015
1 parent 1b13164 commit 90bb0e5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
4 changes: 2 additions & 2 deletions plugin.php
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Private Blog
Plugin URI: http://www.volcanicpixels.com/password-protect-wordpress-plugin/
Description: Private Blog is a wordpress plugin which allows you to password protect all of your wordpress blog including all posts and feeds with a single password.
Version: 5.0.2
Version: 5.0.4
Author: Daniel Chatfield
Author URI: http://www.danielchatfield.com
License: GPLv2
Expand All @@ -14,7 +14,7 @@
include( dirname( __FILE__ ) ."/lava/lava.php" );

$pluginName = "Private Blog";
$pluginVersion = "5.0.2";
$pluginVersion = "5.0.4";

$thePlugin = lava::newPlugin( __FILE__, $pluginName, $pluginVersion );
$pluginSlug = $thePlugin->_slug();
Expand Down
2 changes: 1 addition & 1 deletion pluginCallbacks.php
Expand Up @@ -431,7 +431,7 @@ function isLoginAccepted( $current ) {

function loginAccepted() {
$this->setCookie();
$redirect = get_home_url('');
$redirect = get_home_url('/');
if( array_key_exists($this->_slug( "redirect" ), $_REQUEST) ) {
$redirect = $_REQUEST[ $this->_slug( "redirect" ) ];
}
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Expand Up @@ -4,7 +4,7 @@ Donate link: http://www.spiders-design.co.uk/donate/
Tags: password,protect,password protect,wordpress,blog, security
Requires at least: 3.3.1
Tested up to: 3.8
Stable tag: 5.0.2
Stable tag: 5.0.4

This plugin password protects your wordpress blog with a single password.

Expand Down Expand Up @@ -61,6 +61,14 @@ This section describes how to install the plugin and get it working.

== Changelog ==

= 5.0.4 =

* Fixed issue with secure assets

= 5.0.3 =

* Fixed issue with redirect when using different install path

= 5.0.2 =

* Added link to cache setup guide
Expand Down
6 changes: 3 additions & 3 deletions skins/default/templates/loginpage.html
Expand Up @@ -7,7 +7,7 @@
<meta name="robots" content="noindex">
<title>{{ environment.blog_name }} | Login</title>
<link rel="stylesheet" type="text/css" href="{{ environment.static_url }}/styles.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
{{ skin_actions.head }}
</head>
<body class="{{ body_class }}" >
Expand Down Expand Up @@ -35,9 +35,9 @@
<label for="{{ input.id }}">{{ input.label }}
<br>
{% endif %}

<input id="{{ input.id }}" class="{{ input.class }}" type="{{ input.type }}" name="{{ input.name }}" value="{{ input.value }}" />

{% if input.label %}
</label>
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions skins/defaultcustom/templates/loginpage.html
Expand Up @@ -7,7 +7,7 @@
<meta name="robots" content="noindex">
<title>{{ environment.blog_name }} | Login</title>
<link rel="stylesheet" type="text/css" href="{{ environment.static_url }}/styles.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
{{ skin_actions.head }}
{% if settings.enable_custom_css == "on" %}
<style type="text/css">
Expand Down Expand Up @@ -43,9 +43,9 @@
<label for="{{ input.id }}">{{ input.label }}
<br>
{% endif %}

<input id="{{ input.id }}" class="{{ input.class }}" type="{{ input.type }}" name="{{ input.name }}" value="{{ input.value }}" />

{% if input.label %}
</label>
{% endif %}
Expand Down

0 comments on commit 90bb0e5

Please sign in to comment.