Login With Ajax - Version 1.11

Version Description

Download this release

Release Info

Developer netweblogic
Plugin Icon 128x128 Login With Ajax
Version 1.11
Comparing to
See all releases

Code changes from version 1.1 to 1.11

Files changed (2) hide show
  1. login-with-ajax.php +3 -3
  2. readme.txt +1 -1
login-with-ajax.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Login With Ajax
4
  Plugin URI: http://netweblogic.com/wordpress/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: NetWebLogic
7
- Version: 1.1
8
  Author URI: http://netweblogic.com/
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
 
@@ -126,14 +126,14 @@ class LoginWithAjax {
126
 
127
  function logoutRedirect(){
128
  $data = get_option('lwa_data');
129
- if( preg_match('/http(s)?:\/\//.+\.[a-zA-Z]{2,3}',$data['logout_redirect'])){
130
  header("Location: {$data['logout_redirect']}");
131
  }
132
  }
133
 
134
  function loginRedirect(){
135
  $data = get_option('lwa_data');
136
- if( preg_match('/http(s)?:\/\//.+\.[a-zA-Z]{2,3}',$data['login_redirect'])){
137
  header("Location: {$data['login_redirect']}");
138
  }
139
  }
4
  Plugin URI: http://netweblogic.com/wordpress/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: NetWebLogic
7
+ Version: 1.11
8
  Author URI: http://netweblogic.com/
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
 
126
 
127
  function logoutRedirect(){
128
  $data = get_option('lwa_data');
129
+ if( preg_match('/http(s)?:\/\//.+\.[a-zA-Z]{2,3}/',$data['logout_redirect'])){
130
  header("Location: {$data['logout_redirect']}");
131
  }
132
  }
133
 
134
  function loginRedirect(){
135
  $data = get_option('lwa_data');
136
+ if( preg_match('/http(s)?:\/\//.+\.[a-zA-Z]{2,3}/',$data['login_redirect'])){
137
  header("Location: {$data['login_redirect']}");
138
  }
139
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: netweblogic
4
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
5
  Requires at least: 2.7
6
  Tested up to: 2.8.2
7
- Stable tag: 1.1
8
 
9
  Add smooth ajax during login, avoid screen refreshes and choose where users get redirected to upon login/logout. Supports SSL, MU, and BuddyPress.
10
 
4
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
5
  Requires at least: 2.7
6
  Tested up to: 2.8.2
7
+ Stable tag: 1.11
8
 
9
  Add smooth ajax during login, avoid screen refreshes and choose where users get redirected to upon login/logout. Supports SSL, MU, and BuddyPress.
10