Theme My Login - Version 6.3.9

Version Description

  • Fix strict standards errors
  • Replace deprecated functions
Download this release

Release Info

Developer jfarthing84
Plugin Icon 128x128 Theme My Login
Version 6.3.9
Comparing to
See all releases

Code changes from version 6.3.8 to 6.3.9

admin/class-theme-my-login-admin.php CHANGED
@@ -29,7 +29,7 @@ class Theme_My_Login_Admin extends Theme_My_Login_Abstract {
29
  * @access public
30
  * @return Theme_My_Login
31
  */
32
- public static function get_object() {
33
  return parent::get_object( __CLASS__ );
34
  }
35
 
29
  * @access public
30
  * @return Theme_My_Login
31
  */
32
+ public static function get_object( $class = null ) {
33
  return parent::get_object( __CLASS__ );
34
  }
35
 
includes/class-theme-my-login-ms-signup.php CHANGED
@@ -22,7 +22,7 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
22
  * @access public
23
  * @return object
24
  */
25
- public static function get_object() {
26
  return parent::get_object( __CLASS__ );
27
  }
28
 
22
  * @access public
23
  * @return object
24
  */
25
+ public static function get_object( $class = null ) {
26
  return parent::get_object( __CLASS__ );
27
  }
28
 
includes/class-theme-my-login.php CHANGED
@@ -84,7 +84,7 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
84
  * @access public
85
  * @return object
86
  */
87
- public static function get_object() {
88
  return parent::get_object( __CLASS__ );
89
  }
90
 
@@ -1006,7 +1006,7 @@ if(typeof wpOnload=='function')wpOnload()
1006
  if ( empty( $_POST['user_login'] ) ) {
1007
  $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Enter a username or e-mail address.' ) );
1008
  } else if ( strpos( $_POST['user_login'], '@' ) ) {
1009
- $user_data = get_user_by_email( trim( $_POST['user_login'] ) );
1010
  if ( empty( $user_data ) )
1011
  $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no user registered with that email address.' ) );
1012
  } else {
84
  * @access public
85
  * @return object
86
  */
87
+ public static function get_object( $class = null ) {
88
  return parent::get_object( __CLASS__ );
89
  }
90
 
1006
  if ( empty( $_POST['user_login'] ) ) {
1007
  $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Enter a username or e-mail address.' ) );
1008
  } else if ( strpos( $_POST['user_login'], '@' ) ) {
1009
+ $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) );
1010
  if ( empty( $user_data ) )
1011
  $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no user registered with that email address.' ) );
1012
  } else {
modules/ajax/ajax.php CHANGED
@@ -26,7 +26,7 @@ class Theme_My_Login_Ajax extends Theme_My_Login_Abstract {
26
  * @access public
27
  * @return object
28
  */
29
- public static function get_object() {
30
  return parent::get_object( __CLASS__ );
31
  }
32
 
26
  * @access public
27
  * @return object
28
  */
29
+ public static function get_object( $class = null ) {
30
  return parent::get_object( __CLASS__ );
31
  }
32
 
modules/custom-email/admin/custom-email-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Custom_Email_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/custom-email/custom-email.php CHANGED
@@ -60,7 +60,7 @@ class Theme_My_Login_Custom_Email extends Theme_My_Login_Abstract {
60
  * @access public
61
  * @return object
62
  */
63
- public static function get_object() {
64
  return parent::get_object( __CLASS__ );
65
  }
66
 
60
  * @access public
61
  * @return object
62
  */
63
+ public static function get_object( $class = null ) {
64
  return parent::get_object( __CLASS__ );
65
  }
66
 
modules/custom-passwords/custom-passwords.php CHANGED
@@ -24,7 +24,7 @@ class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Abstract {
24
  * @access public
25
  * @return object
26
  */
27
- public static function get_object() {
28
  return parent::get_object( __CLASS__ );
29
  }
30
 
24
  * @access public
25
  * @return object
26
  */
27
+ public static function get_object( $class = null ) {
28
  return parent::get_object( __CLASS__ );
29
  }
30
 
modules/custom-redirection/admin/custom-redirection-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Custom_Redirection_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/custom-redirection/custom-redirection.php CHANGED
@@ -35,7 +35,7 @@ class Theme_My_Login_Custom_Redirection extends Theme_My_Login_Abstract {
35
  * @access public
36
  * @return object
37
  */
38
- public static function get_object() {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
35
  * @access public
36
  * @return object
37
  */
38
+ public static function get_object( $class = null ) {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
modules/custom-user-links/admin/custom-user-links-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Custom_User_Links_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/custom-user-links/custom-user-links.php CHANGED
@@ -35,7 +35,7 @@ class Theme_My_Login_Custom_User_Links extends Theme_My_Login_Abstract {
35
  * @access public
36
  * @return object
37
  */
38
- public static function get_object() {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
35
  * @access public
36
  * @return object
37
  */
38
+ public static function get_object( $class = null ) {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
modules/recaptcha/admin/recaptcha-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Recaptcha_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/recaptcha/recaptcha.php CHANGED
@@ -51,7 +51,7 @@ class Theme_My_Login_Recaptcha extends Theme_My_Login_Abstract {
51
  * @access public
52
  * @return object
53
  */
54
- public static function get_object() {
55
  return parent::get_object( __CLASS__ );
56
  }
57
 
51
  * @access public
52
  * @return object
53
  */
54
+ public static function get_object( $class = null ) {
55
  return parent::get_object( __CLASS__ );
56
  }
57
 
modules/security/admin/security-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Security_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/security/security.php CHANGED
@@ -35,7 +35,7 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
35
  * @access public
36
  * @return object
37
  */
38
- public static function get_object() {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
35
  * @access public
36
  * @return object
37
  */
38
+ public static function get_object( $class = null ) {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
modules/themed-profiles/admin/themed-profiles-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_Themed_Profiles_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/themed-profiles/themed-profiles.php CHANGED
@@ -35,7 +35,7 @@ class Theme_My_Login_Themed_Profiles extends Theme_My_Login_Abstract {
35
  * @access public
36
  * @return object
37
  */
38
- public static function get_object() {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
35
  * @access public
36
  * @return object
37
  */
38
+ public static function get_object( $class = null ) {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
modules/user-moderation/admin/user-moderation-admin.php CHANGED
@@ -30,7 +30,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
30
  * @access public
31
  * @return object
32
  */
33
- public static function get_object() {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
30
  * @access public
31
  * @return object
32
  */
33
+ public static function get_object( $class = null ) {
34
  return parent::get_object( __CLASS__ );
35
  }
36
 
modules/user-moderation/user-moderation.php CHANGED
@@ -35,7 +35,7 @@ class Theme_My_Login_User_Moderation extends Theme_My_Login_Abstract {
35
  * @access public
36
  * @return object
37
  */
38
- public static function get_object() {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
35
  * @access public
36
  * @return object
37
  */
38
+ public static function get_object( $class = null ) {
39
  return parent::get_object( __CLASS__ );
40
  }
41
 
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.5.1
6
- Stable tag: 6.3.8
7
 
8
  Themes the WordPress login pages according to your theme.
9
 
@@ -56,6 +56,10 @@ Please visit http://www.jfarthing.com/development/theme-my-login first and then
56
 
57
  == Changelog ==
58
 
 
 
 
 
59
  = 6.3.8 =
60
  * Fix issue where pages would redirect to profile page with Themed Profiles active
61
 
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.8
6
+ Stable tag: 6.3.9
7
 
8
  Themes the WordPress login pages according to your theme.
9
 
56
 
57
  == Changelog ==
58
 
59
+ = 6.3.9 =
60
+ * Fix strict standards errors
61
+ * Replace deprecated functions
62
+
63
  = 6.3.8 =
64
  * Fix issue where pages would redirect to profile page with Themed Profiles active
65
 
theme-my-login.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Theme My Login
4
  Plugin URI: http://www.jfarthing.com/extend/wordpress-plugins/theme-my-login/
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
- Version: 6.3.8
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/extend/wordpress-plugins/theme-my-login/
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
+ Version: 6.3.9
7
  Author: Jeff Farthing
8
  Author URI: http://www.jfarthing.com
9
  Text Domain: theme-my-login