Limit Login Attempts Reloaded - Version 2.25.8

Version Description

  • Email text, links updated.
Download this release

Release Info

Developer wpchefgadget
Plugin Icon 128x128 Limit Login Attempts Reloaded
Version 2.25.8
Comparing to
See all releases

Code changes from version 2.25.7 to 2.25.8

core/LimitLoginAttempts.php CHANGED
@@ -338,14 +338,15 @@ class Limit_Login_Attempts {
338
  public function add_action_links( $actions ) {
339
 
340
  $actions = array_merge( array(
 
341
  '<a href="' . $this->get_options_page_uri( 'settings' ) . '">' . __( 'Settings', 'limit-login-attempts-reloaded' ) . '</a>',
342
  ), $actions );
343
 
344
  if($this->get_option( 'active_app' ) === 'local') {
345
 
346
- $actions = array_merge( $actions , array(
347
- '<a href="https://www.limitloginattempts.com/info.php?from=plugin-plugins" target="_blank" style="font-weight: bold;">' . __( 'Upgrade', 'limit-login-attempts-reloaded' ) . '</a>',
348
- ));
349
  }
350
 
351
  return $actions;
@@ -1132,6 +1133,8 @@ class Limit_Login_Attempts {
1132
  $blogname = $this->use_local_options ? get_option( 'blogname' ) : get_site_option( 'site_name' );
1133
  $blogname = htmlspecialchars_decode( $blogname, ENT_QUOTES );
1134
 
 
 
1135
  $subject = sprintf(
1136
  __( "[%s] Failed WordPress login attempt by IP %s on %s", 'limit-login-attempts-reloaded' ),
1137
  $blogname,
@@ -1145,8 +1148,10 @@ class Limit_Login_Attempts {
1145
  Last user attempted: <b>%5$s</b><br>
1146
  IP was blocked for %6$s</p>
1147
  <p>This notification was sent automatically via Limit Login Attempts Reloaded Plugin.
1148
- <b>This is installed on your %7$s WordPress site. <a href="%8$s" target="_blank">Login to your WordPress dashboard</a> ' .
1149
- 'to review more details and take action if necessary.</b></p>', 'limit-login-attempts-reloaded' );
 
 
1150
 
1151
  $message = sprintf(
1152
  $message,
@@ -1157,7 +1162,9 @@ IP was blocked for %6$s</p>
1157
  $user,
1158
  $when,
1159
  $site_domain,
1160
- admin_url( 'options-general.php?page=' . $this->_options_page_slug )
 
 
1161
  );
1162
 
1163
  $message .= '<h3>Frequently Asked Questions</h3>
338
  public function add_action_links( $actions ) {
339
 
340
  $actions = array_merge( array(
341
+ '<a href="' . $this->get_options_page_uri() . '">' . __( 'Dashboard', 'limit-login-attempts-reloaded' ) . '</a>',
342
  '<a href="' . $this->get_options_page_uri( 'settings' ) . '">' . __( 'Settings', 'limit-login-attempts-reloaded' ) . '</a>',
343
  ), $actions );
344
 
345
  if($this->get_option( 'active_app' ) === 'local') {
346
 
347
+ $actions = array_merge( array(
348
+ '<a href="https://www.limitloginattempts.com/info.php?from=plugin-plugins" target="_blank" style="font-weight: bold;">' . __( 'Upgrade to Premium', 'limit-login-attempts-reloaded' ) . '</a>',
349
+ ), $actions );
350
  }
351
 
352
  return $actions;
1133
  $blogname = $this->use_local_options ? get_option( 'blogname' ) : get_site_option( 'site_name' );
1134
  $blogname = htmlspecialchars_decode( $blogname, ENT_QUOTES );
1135
 
1136
+ $plugin_data = get_plugin_data( LLA_PLUGIN_DIR . '/limit-login-attempts-reloaded.php' );
1137
+
1138
  $subject = sprintf(
1139
  __( "[%s] Failed WordPress login attempt by IP %s on %s", 'limit-login-attempts-reloaded' ),
1140
  $blogname,
1148
  Last user attempted: <b>%5$s</b><br>
1149
  IP was blocked for %6$s</p>
1150
  <p>This notification was sent automatically via Limit Login Attempts Reloaded Plugin.
1151
+ <b>This is installed on your %7$s WordPress site. <a href="%8$s" target="_blank">Please login to your WordPress</a> ' .
1152
+ 'dashboard to view more info.</b></p>' .
1153
+ '<p>Experiencing frequent attacks or degraded performance? Try our <a href="%9$s" target="_blank">advanced protection</a>. ' .
1154
+ 'Have Questions? Visit our <a href="%10$s" target="_blank">help section</a>.</p>', 'limit-login-attempts-reloaded' );
1155
 
1156
  $message = sprintf(
1157
  $message,
1162
  $user,
1163
  $when,
1164
  $site_domain,
1165
+ admin_url( 'options-general.php?page=' . $this->_options_page_slug ),
1166
+ 'https://www.limitloginattempts.com/info.php?from=plugin-lockout-email&v=' . $plugin_data['Version'],
1167
+ 'https://www.limitloginattempts.com/resources/?from=plugin-lockout-email&v=' . $plugin_data['Version']
1168
  );
1169
 
1170
  $message .= '<h3>Frequently Asked Questions</h3>
limit-login-attempts-reloaded.php CHANGED
@@ -5,7 +5,7 @@ Description: Block excessive login attempts and protect your site against brute
5
  Author: Limit Login Attempts Reloaded
6
  Author URI: https://www.limitloginattempts.com/
7
  Text Domain: limit-login-attempts-reloaded
8
- Version: 2.25.7
9
 
10
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2022 Limit Login Attempts Reloaded
11
  */
5
  Author: Limit Login Attempts Reloaded
6
  Author URI: https://www.limitloginattempts.com/
7
  Text Domain: limit-login-attempts-reloaded
8
+ Version: 2.25.8
9
 
10
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2022 Limit Login Attempts Reloaded
11
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/donate?hosted_button_id=FKD4MYFCMNVQQ
4
  Tags: brute force, login, security, firewall, protection
5
  Requires at least: 3.0
6
  Tested up to: 6.0
7
- Stable tag: 2.25.7
8
 
9
  Block excessive login attempts and protect your site against brute force attacks. Simple, yet powerful tools to improve site performance.
10
 
@@ -98,6 +98,9 @@ Please follow this link: <a href="https://www.limitloginattempts.com/resources/"
98
 
99
  == Changelog ==
100
 
 
 
 
101
  = 2.25.7 =
102
  * Country flags added to log.
103
  * Refresh button added to log.
4
  Tags: brute force, login, security, firewall, protection
5
  Requires at least: 3.0
6
  Tested up to: 6.0
7
+ Stable tag: 2.25.8
8
 
9
  Block excessive login attempts and protect your site against brute force attacks. Simple, yet powerful tools to improve site performance.
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 2.25.8 =
102
+ * Email text, links updated.
103
+
104
  = 2.25.7 =
105
  * Country flags added to log.
106
  * Refresh button added to log.