WP htaccess Control - Version 1.5.3

Version Description

(01/06/2010) = * Fix: small regex correction on filtered pagination links.

Download this release

Release Info

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

Code changes from version 1.5.2 to 1.5.3

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.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,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.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
 
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.3
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.3 (01/06/2010) =
56
+ * Fix: small regex correction on filtered pagination links.
57
+
58
  = 1.5.2 (02/05/2010) =
59
  * Fix: mistake on 1.5.1 would not add wordpress own htaccess rules (thank you JAB_au for the report).
60
 
wp-htaccess-control-ui.php CHANGED
@@ -77,9 +77,7 @@ $WPhtc_data=get_option('WPhtc_data');
77
  <table class="form-table wphtc-inputs">
78
  <tr valign="top">
79
  <td>
80
- <textarea name="WPhtc_hta" style="width:100%;" rows="5">
81
- <?php echo stripslashes($WPhtc_data['hta']); ?>
82
- </textarea>
83
  </td>
84
  <td style="width:50%;">
85
  <p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
77
  <table class="form-table wphtc-inputs">
78
  <tr valign="top">
79
  <td>
80
+ <textarea name="WPhtc_hta" style="width:100%;" rows="5"><?php echo stripslashes($WPhtc_data['hta']); ?></textarea>
 
 
81
  </td>
82
  <td style="width:50%;">
83
  <p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
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.2
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -38,7 +38,7 @@ if (!class_exists("WPhtc")) {
38
  function wphtc_filter_get_pagenum_link($result){
39
  $WPhtc_data=get_option('WPhtc_data');
40
  if(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!=''){
41
- $result=preg_replace("/".$WPhtc_data['cpp']."\/[0-9][\/]?/","",$result);
42
  $result=str_replace("page",$WPhtc_data['cpp'],$result);
43
  }
44
  return $result;
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.3
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
38
  function wphtc_filter_get_pagenum_link($result){
39
  $WPhtc_data=get_option('WPhtc_data');
40
  if(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!=''){
41
+ $result=preg_replace("/".$WPhtc_data['cpp']."\/[0-9]+[\/]?/","",$result);
42
  $result=str_replace("page",$WPhtc_data['cpp'],$result);
43
  }
44
  return $result;