Version Description
- Fix static front page bug
- Remove tab indexes from forms
Download this release
Release Info
Developer | jfarthing84 |
Plugin | Theme My Login |
Version | 6.2.3 |
Comparing to | |
See all releases |
Code changes from version 6.2.2 to 6.2.3
- includes/class-theme-my-login.php +3 -1
- modules/custom-passwords/custom-passwords.php +2 -2
- readme.txt +7 -3
- templates/login-form.php +4 -4
- templates/lostpassword-form.php +2 -2
- templates/register-form.php +3 -3
- templates/resetpass-form.php +3 -3
- theme-my-login.php +1 -1
includes/class-theme-my-login.php
CHANGED
@@ -221,8 +221,10 @@ class Theme_My_Login {
|
|
221 |
function parse_request( &$wp ) {
|
222 |
$errors =& $this->errors;
|
223 |
$action =& $this->request_action;
|
224 |
-
if ( isset( $wp->query_vars['action'] ) )
|
225 |
$action = $wp->query_vars['action'];
|
|
|
|
|
226 |
$instance =& $this->request_instance;
|
227 |
|
228 |
if ( is_admin() )
|
221 |
function parse_request( &$wp ) {
|
222 |
$errors =& $this->errors;
|
223 |
$action =& $this->request_action;
|
224 |
+
if ( isset( $wp->query_vars['action'] ) ) {
|
225 |
$action = $wp->query_vars['action'];
|
226 |
+
unset( $wp->query_vars['action'] );
|
227 |
+
}
|
228 |
$instance =& $this->request_instance;
|
229 |
|
230 |
if ( is_admin() )
|
modules/custom-passwords/custom-passwords.php
CHANGED
@@ -27,9 +27,9 @@ class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Module {
|
|
27 |
function password_fields( &$template ) {
|
28 |
?>
|
29 |
<p><label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password:', 'theme-my-login' );?></label>
|
30 |
-
<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password"
|
31 |
<p><label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password:', 'theme-my-login' );?></label>
|
32 |
-
<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password"
|
33 |
<?php
|
34 |
}
|
35 |
|
27 |
function password_fields( &$template ) {
|
28 |
?>
|
29 |
<p><label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password:', 'theme-my-login' );?></label>
|
30 |
+
<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
|
31 |
<p><label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password:', 'theme-my-login' );?></label>
|
32 |
+
<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
|
33 |
<?php
|
34 |
}
|
35 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: jfarthing84
|
3 |
Tags: widget, login, registration, theme, custom, log in, register, sidebar, gravatar, redirection, e-mail
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to: 3.4
|
6 |
-
Stable tag: 6.2.
|
7 |
|
8 |
Themes the WordPress login pages according to your theme.
|
9 |
|
@@ -36,11 +36,15 @@ Also includes a widget for sidebar login.
|
|
36 |
|
37 |
== Frequently Asked Questions ==
|
38 |
|
39 |
-
Please visit http://www.jfarthing.com/
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
|
|
44 |
= 6.2.2 =
|
45 |
* Fix redirect loop bug
|
46 |
* Add visual cues for permalinks
|
2 |
Contributors: jfarthing84
|
3 |
Tags: widget, login, registration, theme, custom, log in, register, sidebar, gravatar, redirection, e-mail
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 3.4.2
|
6 |
+
Stable tag: 6.2.3
|
7 |
|
8 |
Themes the WordPress login pages according to your theme.
|
9 |
|
36 |
|
37 |
== Frequently Asked Questions ==
|
38 |
|
39 |
+
Please visit http://www.jfarthing.com/development/theme-my-login first and then visit http://www.jfarthing.com/support if you have any questions, concerns, suggestions or problems.
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 6.2.3 =
|
45 |
+
* Fix static front page bug
|
46 |
+
* Remove tab indexes from forms
|
47 |
+
|
48 |
= 6.2.2 =
|
49 |
* Fix redirect loop bug
|
50 |
* Add visual cues for permalinks
|
templates/login-form.php
CHANGED
@@ -10,22 +10,22 @@ Theme My Login will always look in your theme's directory first, before using th
|
|
10 |
<form name="loginform" id="loginform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'login' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ) ?></label>
|
13 |
-
<input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20"
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ) ?></label>
|
17 |
-
<input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="input" value="" size="20"
|
18 |
</p>
|
19 |
<?php
|
20 |
do_action( 'login_form' ); // Wordpress hook
|
21 |
do_action_ref_array( 'tml_login_form', array( &$template ) ); // TML hook
|
22 |
?>
|
23 |
<p class="forgetmenot">
|
24 |
-
<input name="rememberme" type="checkbox" id="rememberme<?php $template->the_instance(); ?>" value="forever"
|
25 |
<label for="rememberme<?php $template->the_instance(); ?>"><?php _e( 'Remember Me', 'theme-my-login' ); ?></label>
|
26 |
</p>
|
27 |
<p class="submit">
|
28 |
-
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Log In', 'theme-my-login' ); ?>"
|
29 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />
|
30 |
<input type="hidden" name="testcookie" value="1" />
|
31 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
10 |
<form name="loginform" id="loginform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'login' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ) ?></label>
|
13 |
+
<input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20" />
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ) ?></label>
|
17 |
+
<input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="input" value="" size="20" />
|
18 |
</p>
|
19 |
<?php
|
20 |
do_action( 'login_form' ); // Wordpress hook
|
21 |
do_action_ref_array( 'tml_login_form', array( &$template ) ); // TML hook
|
22 |
?>
|
23 |
<p class="forgetmenot">
|
24 |
+
<input name="rememberme" type="checkbox" id="rememberme<?php $template->the_instance(); ?>" value="forever" />
|
25 |
<label for="rememberme<?php $template->the_instance(); ?>"><?php _e( 'Remember Me', 'theme-my-login' ); ?></label>
|
26 |
</p>
|
27 |
<p class="submit">
|
28 |
+
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Log In', 'theme-my-login' ); ?>" />
|
29 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />
|
30 |
<input type="hidden" name="testcookie" value="1" />
|
31 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
templates/lostpassword-form.php
CHANGED
@@ -10,14 +10,14 @@ Theme My Login will always look in your theme's directory first, before using th
|
|
10 |
<form name="lostpasswordform" id="lostpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'lostpassword' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username or E-mail:', 'theme-my-login' ) ?></label>
|
13 |
-
<input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20"
|
14 |
</p>
|
15 |
<?php
|
16 |
do_action( 'lostpassword_form' ); // Wordpress hook
|
17 |
do_action_ref_array( 'tml_lostpassword_form', array( &$template ) ); // TML hook
|
18 |
?>
|
19 |
<p class="submit">
|
20 |
-
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Get New Password', 'theme-my-login' ); ?>"
|
21 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'lostpassword' ); ?>" />
|
22 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
23 |
</p>
|
10 |
<form name="lostpasswordform" id="lostpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'lostpassword' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username or E-mail:', 'theme-my-login' ) ?></label>
|
13 |
+
<input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
|
14 |
</p>
|
15 |
<?php
|
16 |
do_action( 'lostpassword_form' ); // Wordpress hook
|
17 |
do_action_ref_array( 'tml_lostpassword_form', array( &$template ) ); // TML hook
|
18 |
?>
|
19 |
<p class="submit">
|
20 |
+
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Get New Password', 'theme-my-login' ); ?>" />
|
21 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'lostpassword' ); ?>" />
|
22 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
23 |
</p>
|
templates/register-form.php
CHANGED
@@ -10,11 +10,11 @@ Theme My Login will always look in your theme's directory first, before using th
|
|
10 |
<form name="registerform" id="registerform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'register' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ) ?></label>
|
13 |
-
<input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20"
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'E-mail', 'theme-my-login' ) ?></label>
|
17 |
-
<input type="text" name="user_email" id="user_email<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_email' ); ?>" size="20"
|
18 |
</p>
|
19 |
<?php
|
20 |
do_action( 'register_form' ); // Wordpress hook
|
@@ -22,7 +22,7 @@ do_action_ref_array( 'tml_register_form', array( &$template ) ); //TML hook
|
|
22 |
?>
|
23 |
<p id="reg_passmail<?php $template->the_instance(); ?>"><?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.', 'theme-my-login' ) ); ?></p>
|
24 |
<p class="submit">
|
25 |
-
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Register', 'theme-my-login' ); ?>"
|
26 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'register' ); ?>" />
|
27 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
28 |
</p>
|
10 |
<form name="registerform" id="registerform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'register' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ) ?></label>
|
13 |
+
<input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'E-mail', 'theme-my-login' ) ?></label>
|
17 |
+
<input type="text" name="user_email" id="user_email<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_email' ); ?>" size="20" />
|
18 |
</p>
|
19 |
<?php
|
20 |
do_action( 'register_form' ); // Wordpress hook
|
22 |
?>
|
23 |
<p id="reg_passmail<?php $template->the_instance(); ?>"><?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.', 'theme-my-login' ) ); ?></p>
|
24 |
<p class="submit">
|
25 |
+
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php _e( 'Register', 'theme-my-login' ); ?>" />
|
26 |
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'register' ); ?>" />
|
27 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
28 |
</p>
|
templates/resetpass-form.php
CHANGED
@@ -10,11 +10,11 @@ Theme My Login will always look in your theme's directory first, before using th
|
|
10 |
<form name="resetpasswordform" id="resetpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'resetpass' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'New password', 'theme-my-login' );?></label>
|
13 |
-
<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off"
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm new password', 'theme-my-login' );?></label>
|
17 |
-
<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off"
|
18 |
</p>
|
19 |
<div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
|
20 |
<p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).' ); ?></p>
|
@@ -23,7 +23,7 @@ do_action( 'resetpassword_form' ); // Wordpress hook
|
|
23 |
do_action_ref_array( 'tml_resetpassword_form', array( $template ) ); // TML hook
|
24 |
?>
|
25 |
<p class="submit">
|
26 |
-
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Reset Password', 'theme-my-login' ); ?>"
|
27 |
<input type="hidden" name="key" value="<?php $template->the_posted_value( 'key' ); ?>" />
|
28 |
<input type="hidden" name="login" id="user_login" value="<?php $template->the_posted_value( 'login' ); ?>" />
|
29 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
10 |
<form name="resetpasswordform" id="resetpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'resetpass' ); ?>" method="post">
|
11 |
<p>
|
12 |
<label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'New password', 'theme-my-login' );?></label>
|
13 |
+
<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
|
14 |
</p>
|
15 |
<p>
|
16 |
<label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm new password', 'theme-my-login' );?></label>
|
17 |
+
<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
|
18 |
</p>
|
19 |
<div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
|
20 |
<p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).' ); ?></p>
|
23 |
do_action_ref_array( 'tml_resetpassword_form', array( $template ) ); // TML hook
|
24 |
?>
|
25 |
<p class="submit">
|
26 |
+
<input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Reset Password', 'theme-my-login' ); ?>" />
|
27 |
<input type="hidden" name="key" value="<?php $template->the_posted_value( 'key' ); ?>" />
|
28 |
<input type="hidden" name="login" id="user_login" value="<?php $template->the_posted_value( 'login' ); ?>" />
|
29 |
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
|
theme-my-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/development/theme-my-login/
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
-
Version: 6.2.
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
Text Domain: theme-my-login
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/development/theme-my-login/
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
+
Version: 6.2.3
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
Text Domain: theme-my-login
|