SiteGuard WP Plugin - Version 1.0.4

Version Description

  • Fix bug that fails to update .htaccess, if there is no WordPress settings in .htaccess
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

Files changed (3) hide show
  1. classes/siteguard-htaccess.php +2 -2
  2. readme.txt +3 -1
  3. siteguard.php +2 -2
classes/siteguard-htaccess.php CHANGED
@@ -176,8 +176,8 @@ class SiteGuard_Htaccess extends SiteGuard_Base {
176
  // Write empty WordPress Settings
177
  } else if ( false == $flag_wp ) {
178
  fwrite( $fw, "\n", 1 );
179
- fwrite( $fw, $wp_mark_start . "\n", strlen ( $wp_wp_mark_start ) + 1 );
180
- fwrite( $fw, $wp_mark_end . "\n", strlen ( $wp_wp_mark_end ) + 1 );
181
  fwrite( $fw, "\n", 1 );
182
  }
183
  fclose( $fr );
176
  // Write empty WordPress Settings
177
  } else if ( false == $flag_wp ) {
178
  fwrite( $fw, "\n", 1 );
179
+ fwrite( $fw, $mark_wp_start . "\n", strlen ( $mark_wp_start ) + 1 );
180
+ fwrite( $fw, $mark_wp_end . "\n", strlen ( $mark_wp_end ) + 1 );
181
  fwrite( $fw, "\n", 1 );
182
  }
183
  fclose( $fr );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: -
4
  Tags: security, waf
5
  Requires at least: 3.9
6
  Tested up to: 4.0
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -81,6 +81,8 @@ By creating the WAF exclude rule, the WAF protection function can be activated w
81
  http://www.jp-secure.com/cont/products/siteguard_wp_plugin/faq_en.html
82
 
83
  == Changelog ==
 
 
84
  = 1.0.3 =
85
  * Fix a problem that "Rename Login" does not work, if you change Permalink settings
86
  * Fix the collision of class name of Really Simple CAPTCHA
4
  Tags: security, waf
5
  Requires at least: 3.9
6
  Tested up to: 4.0
7
+ Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
81
  http://www.jp-secure.com/cont/products/siteguard_wp_plugin/faq_en.html
82
 
83
  == Changelog ==
84
+ = 1.0.4 =
85
+ * Fix bug that fails to update .htaccess, if there is no WordPress settings in .htaccess
86
  = 1.0.3 =
87
  * Fix a problem that "Rename Login" does not work, if you change Permalink settings
88
  * Fix the collision of class name of Really Simple CAPTCHA
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.0.3
11
  */
12
 
13
  /* Copyright 2014 JP-Secure Inc
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
30
  exit;
31
  }
32
 
33
- define( 'SITEGUARD_VERSION', '1.0.3' );
34
 
35
  define( 'SITEGUARD_PATH', plugin_dir_path( __FILE__ ) );
36
  define( 'SITEGUARD_URL_PATH', plugin_dir_url( __FILE__ ) );
7
  Author URI: http://www.jp-secure.com/eng/
8
  Text Domain: siteguard
9
  Domain Path: /languages/
10
+ Version: 1.0.4
11
  */
12
 
13
  /* Copyright 2014 JP-Secure Inc
30
  exit;
31
  }
32
 
33
+ define( 'SITEGUARD_VERSION', '1.0.4' );
34
 
35
  define( 'SITEGUARD_PATH', plugin_dir_path( __FILE__ ) );
36
  define( 'SITEGUARD_URL_PATH', plugin_dir_url( __FILE__ ) );