Simple Login Log - Version 0.9.5

Version Description

Download this release

Release Info

Developer maxchirkov
Plugin Icon wp plugin Simple Login Log
Version 0.9.5
Comparing to
See all releases

Code changes from version 0.9.4 to 0.9.5

Files changed (3) hide show
  1. languages/sll-fa_IR.mo +0 -0
  2. readme.txt +11 -2
  3. simple-login-log.php +4 -4
languages/sll-fa_IR.mo ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ibsteam.net/donate
4
  Tags: login, log, users
5
  Requires at least: 3.0
6
  Tested up to: 3.5
7
- Stable tag: 0.9.4
8
 
9
  This plugin keeps a log of WordPress user logins. Offers user and date filtering, and export features.
10
 
@@ -21,6 +21,10 @@ Simple log of user logins. Tracks username, time of login, IP address and browse
21
  3. log auto-truncation;
22
  4. option to record failed login attempts.
23
 
 
 
 
 
24
  * Author: Max Chirkov
25
  * Author URI: [http://simplerealtytheme.com/](http://simplerealtytheme.com/ "Real Estate Themes & Plugins for WordPress")
26
  * Copyright: Released under GNU GENERAL PUBLIC LICENSE
@@ -40,6 +44,12 @@ Screen Options are available at the top of the Login Log page. Click on the *Sec
40
 
41
  == Changelog ==
42
 
 
 
 
 
 
 
43
  **Version 0.9.4 - Highly Advised!**
44
 
45
  - Numerous vulnerability fixes!
@@ -48,7 +58,6 @@ Screen Options are available at the top of the Login Log page. Click on the *Sec
48
 
49
  - Improvement: search by partial user name as well as partial IP address per [Commeuneimage's recommendation](http://wordpress.org/support/topic/plugin-simple-login-log-small-enhancement-suggested-on-search-feature).
50
  - Updated POT file.
51
- - Added Russian and Ukrainian Translation.
52
  - Added uninstall.php to all plugin's data from the database on plugin deletion.
53
 
54
  **Version 0.9.2**
4
  Tags: login, log, users
5
  Requires at least: 3.0
6
  Tested up to: 3.5
7
+ Stable tag: 0.9.5
8
 
9
  This plugin keeps a log of WordPress user logins. Offers user and date filtering, and export features.
10
 
21
  3. log auto-truncation;
22
  4. option to record failed login attempts.
23
 
24
+ **Translations:**
25
+
26
+ - Persian [fa_IR] by [MohammadHadi Nasiri](http://taktaweb.ir/)
27
+
28
  * Author: Max Chirkov
29
  * Author URI: [http://simplerealtytheme.com/](http://simplerealtytheme.com/ "Real Estate Themes & Plugins for WordPress")
30
  * Copyright: Released under GNU GENERAL PUBLIC LICENSE
44
 
45
  == Changelog ==
46
 
47
+ **Version 0.9.5**
48
+
49
+ - Fixed: filtered log results weren't getting exported correctly.
50
+ - Improvement: log real IP per [Alexander's recommendation](http://wordpress.org/support/topic/log-real-ip).
51
+ - Added Persian translation.
52
+
53
  **Version 0.9.4 - Highly Advised!**
54
 
55
  - Numerous vulnerability fixes!
58
 
59
  - Improvement: search by partial user name as well as partial IP address per [Commeuneimage's recommendation](http://wordpress.org/support/topic/plugin-simple-login-log-small-enhancement-suggested-on-search-feature).
60
  - Updated POT file.
 
61
  - Added uninstall.php to all plugin's data from the database on plugin deletion.
62
 
63
  **Version 0.9.2**
simple-login-log.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://simplerealtytheme.com
5
  Description: This plugin keeps a log of WordPress user logins. Offers user filtering and export features.
6
  Author: Max Chirkov
7
- Version: 0.9.4
8
  Author URI: http://SimpleRealtyTheme.com
9
  */
10
 
@@ -429,7 +429,7 @@ if( !class_exists( 'SimpleLoginLog' ) )
429
  'user_login' => $user_login,
430
  'user_role' => $user_role,
431
  'time' => current_time('mysql'),
432
- 'ip' => $_SERVER['REMOTE_ADDR'],
433
  'login_result' => $this->login_success,
434
  'data' => $serialized_data,
435
  );
@@ -605,9 +605,10 @@ if( !class_exists( 'SimpleLoginLog' ) )
605
  $download = @esc_attr( $_GET['download-login-log'] );
606
  if($download)
607
  {
 
608
 
609
  $where = ( isset($_GET['where']) && '' != $_GET['where'] ) ? $_GET['where'] : false;
610
- $where = maybe_unserialize( $where );
611
 
612
  if( is_array($where) && !empty($where) )
613
  {
@@ -617,7 +618,6 @@ if( !class_exists( 'SimpleLoginLog' ) )
617
  }
618
  }
619
 
620
- check_admin_referer( 'ssl_export_log' );
621
  $this->export_to_CSV( $this->make_where_query() );
622
  }
623
  }
4
  Plugin URI: http://simplerealtytheme.com
5
  Description: This plugin keeps a log of WordPress user logins. Offers user filtering and export features.
6
  Author: Max Chirkov
7
+ Version: 0.9.5
8
  Author URI: http://SimpleRealtyTheme.com
9
  */
10
 
429
  'user_login' => $user_login,
430
  'user_role' => $user_role,
431
  'time' => current_time('mysql'),
432
+ 'ip' => isset( $_SERVER['HTTP_X_REAL_IP'] ) ? esc_attr( $_SERVER['HTTP_X_REAL_IP'] ) : esc_attr( $_SERVER['REMOTE_ADDR'] ),
433
  'login_result' => $this->login_success,
434
  'data' => $serialized_data,
435
  );
605
  $download = @esc_attr( $_GET['download-login-log'] );
606
  if($download)
607
  {
608
+ check_admin_referer( 'ssl_export_log' );
609
 
610
  $where = ( isset($_GET['where']) && '' != $_GET['where'] ) ? $_GET['where'] : false;
611
+ $where = maybe_unserialize( stripcslashes($where) );
612
 
613
  if( is_array($where) && !empty($where) )
614
  {
618
  }
619
  }
620
 
 
621
  $this->export_to_CSV( $this->make_where_query() );
622
  }
623
  }