SiteGuard WP Plugin - Version 1.5.2

Version Description

  • Fix a syntax error before php5.4
Download this release

Release Info

Developer jp-secure
Plugin Icon 128x128 SiteGuard WP Plugin
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

Files changed (3) hide show
  1. classes/siteguard-base.php +4 -4
  2. readme.txt +4 -2
  3. siteguard.php +1 -1
classes/siteguard-base.php CHANGED
@@ -92,12 +92,12 @@ class SiteGuard_Base {
92
  }
93
 
94
  $url = 'http://inet-ip.info/ip';
95
- $options = [
96
- 'http' => [
97
  'method' => 'GET',
98
  'timeout' => 2,
99
- ]
100
- ];
101
  $ip = file_get_contents( $url, false, stream_context_create( $options ) );
102
  if ( false !== $ip ) {
103
  if ( preg_match( '/[0-9.:]+/', $ip ) ) {
92
  }
93
 
94
  $url = 'http://inet-ip.info/ip';
95
+ $options = array(
96
+ 'http' => array(
97
  'method' => 'GET',
98
  'timeout' => 2,
99
+ )
100
+ );
101
  $ip = file_get_contents( $url, false, stream_context_create( $options ) );
102
  if ( false !== $ip ) {
103
  if ( preg_match( '/[0-9.:]+/', $ip ) ) {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jp-secure
3
  Donate link: -
4
  Tags: security, waf, brute force, password list, login lock, login alert, captcha, pingback, fail once
5
  Requires at least: 3.9
6
- Tested up to: 5.5
7
- Stable tag: 1.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,6 +102,8 @@ If you have created your own language pack, or have an update of an existing one
102
  [Japanese Page](https://www.jp-secure.com/siteguard_wp_plugin/faq/)
103
 
104
  == Changelog ==
 
 
105
  = 1.5.1 =
106
  * Fix a server error when mod_access_compat is not loaded in apache2.4
107
  * In the Admin Page IP Filter function, fix an issue where site health loopback requests fail
3
  Donate link: -
4
  Tags: security, waf, brute force, password list, login lock, login alert, captcha, pingback, fail once
5
  Requires at least: 3.9
6
+ Tested up to: 5.7
7
+ Stable tag: 1.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
  [Japanese Page](https://www.jp-secure.com/siteguard_wp_plugin/faq/)
103
 
104
  == Changelog ==
105
+ = 1.5.2 =
106
+ * Fix a syntax error before php5.4
107
  = 1.5.1 =
108
  * Fix a server error when mod_access_compat is not loaded in apache2.4
109
  * In the Admin Page IP Filter function, fix an issue where site health loopback requests fail
siteguard.php CHANGED
@@ -7,7 +7,7 @@ Author: JP-Secure
7
  Author URI: http://www.jp-secure.com/eng/
8
  Text Domain: siteguard
9
  Domain Path: /languages/
10
- Version: 1.5.1
11
  */
12
 
13
  /* Copyright 2014 JP-Secure Inc
7
  Author URI: http://www.jp-secure.com/eng/
8
  Text Domain: siteguard
9
  Domain Path: /languages/
10
+ Version: 1.5.2
11
  */
12
 
13
  /* Copyright 2014 JP-Secure Inc