WP htaccess Control - Version 1.5.2

Version Description

(02/05/2010) = * Fix: mistake on 1.5.1 would not add wordpress own htaccess rules (thank you JAB_au for the report).

Download this release

Release Info

Developer andrad
Plugin Icon wp plugin WP htaccess Control
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wp-htaccess-control.php +2 -4
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link:
6
  Tags: permalinks, permalink, author, htaccess, rewrite, redirect
7
  Requires at least: 2.7
8
  Tested up to: 2.9.2
9
- Stable tag: 1.5.1
10
 
11
  Provides an interface to add custom htaccess rules to the htaccess file generated by Wordpress and customisation of the Author Permalink Base and of Paginated Permalinks.
12
 
@@ -52,6 +52,9 @@ Suggestions are of course very welcome and please report any bugs found!
52
  1. Administration page (as of v.1.5)
53
 
54
  == Changelog ==
 
 
 
55
  = 1.5.1 (01/05/2010) =
56
  * Fix: stripped slashes on custom htaccess (thank you Aleksey for the report);
57
  * Fix: regex correction for custom pagination permalink (link from page two to the first page would still point to second page);
6
  Tags: permalinks, permalink, author, htaccess, rewrite, redirect
7
  Requires at least: 2.7
8
  Tested up to: 2.9.2
9
+ Stable tag: 1.5.2
10
 
11
  Provides an interface to add custom htaccess rules to the htaccess file generated by Wordpress and customisation of the Author Permalink Base and of Paginated Permalinks.
12
 
52
  1. Administration page (as of v.1.5)
53
 
54
  == Changelog ==
55
+ = 1.5.2 (02/05/2010) =
56
+ * Fix: mistake on 1.5.1 would not add wordpress own htaccess rules (thank you JAB_au for the report).
57
+
58
  = 1.5.1 (01/05/2010) =
59
  * Fix: stripped slashes on custom htaccess (thank you Aleksey for the report);
60
  * Fix: regex correction for custom pagination permalink (link from page two to the first page would still point to second page);
wp-htaccess-control.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP htaccess Control
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
6
- Version: 1.5.1
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -220,9 +220,7 @@ if (!class_exists("WPhtc")) {
220
  $new_rules.="Header append Vary User-Agent env=!dont-vary\n";
221
  $new_rules.="</IfModule>\n";
222
  }
223
- else{
224
- $new_rules.="\n".$rules;
225
- }
226
  return $new_rules;
227
  }
228
  # WP-htaccess Control options page interface
3
  Plugin Name: WP htaccess Control
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
6
+ Version: 1.5.2
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
220
  $new_rules.="Header append Vary User-Agent env=!dont-vary\n";
221
  $new_rules.="</IfModule>\n";
222
  }
223
+ $new_rules.="\n".$rules;
 
 
224
  return $new_rules;
225
  }
226
  # WP-htaccess Control options page interface