WP htaccess Control - Version 2.7.1

Version Description

(30/03/2012) = * Fix: regenerate rules on user creation or deletion; * Fix: toggle handle height glitch (admin panel); * changed menu entry title; * updated plugin info.

Download this release

Release Info

Developer antonioandra.de
Plugin Icon wp plugin WP htaccess Control
Version 2.7.1
Comparing to
See all releases

Code changes from version 2.7 to 2.7.1

lang/wp-htaccess-control-pt_BR.po CHANGED
@@ -1,11 +1,11 @@
1
- # Translation of the WordPress plugin WP htaccess Control 2.0 by António Andrade.
2
- # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: WP htaccess Control 2.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
  "PO-Revision-Date: 2010-11-27 19:04-0000\n"
1
+ # Translation of the WordPress plugin WP htaccess Control, by António Andrade.
2
+ # Copyright (C) 2010-2012 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010-2012.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: WP htaccess Control\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
  "PO-Revision-Date: 2010-11-27 19:04-0000\n"
lang/wp-htaccess-control-pt_PT.po CHANGED
@@ -1,11 +1,11 @@
1
- # Translation of the WordPress plugin WP htaccess Control 2.0 by António Andrade.
2
- # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: WP htaccess Control 2.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
  "PO-Revision-Date: 2010-11-27 19:04-0000\n"
1
+ # Translation of the WordPress plugin WP htaccess Control, by António Andrade.
2
+ # Copyright (C) 2010-2012 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010-2012.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: WP htaccess Control\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
  "PO-Revision-Date: 2010-11-27 19:04-0000\n"
lang/wp-htaccess-control.pot CHANGED
@@ -1,12 +1,12 @@
1
- # Translation of the WordPress plugin WP htaccess Control 2.0 by António Andrade.
2
- # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: WP htaccess Control 2.0\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
1
+ # Translation of the WordPress plugin WP htaccess Control, by António Andrade.
2
+ # Copyright (C) 2010-2012 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010-2012.
5
  #
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: WP htaccess Control\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
  "POT-Creation-Date: 2010-11-27 19:02+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
readme.txt CHANGED
@@ -1,18 +1,19 @@
1
  === WP htaccess Control ===
2
  Author: António Andrade
3
- Author URI: http://dardna.com/
4
- Plugin URI: http://dardna.com/wp-htaccess-control
 
5
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=s4mancha%40gmail%2ecom&lc=US&item_name=WP%20htaccess%20Control%20%28Antonio%20Andrade%29&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest
6
  Tags: permalinks, permalink, author, htaccess, rewrite, redirect, admin, maintenance, pagination, category, category base, archive, archives
7
  Requires at least: 2.7
8
- Tested up to: 3.2.1
9
- Stable tag: 2.7
10
 
11
  Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress.
12
 
13
  == Description ==
14
 
15
- **WP htaccess Control** provides an interface to customize permalinks (author, category, archives and pagination) and the htaccess file generated by Wordpress. (Take a look at the screenshot...)
16
  Despite the name, many of the options now present on this plugin do not use the htaccess file but the wordpress internal rewrite.
17
 
18
  **Features:**
@@ -74,6 +75,12 @@ Search redirection is based on Mark Jaquith's **Nice Search** but extended so th
74
 
75
  == Changelog ==
76
 
 
 
 
 
 
 
77
  = 2.7 (01/10/2011) =
78
  * *Feature:* added option to "Disable file hotlinking" (thank you for the suggestion Syamsul Alam);
79
  * *Fix:* fixed erroneous description of the "Disable image hotlinking" option: if no redirection is to be done "_" should be input instead of "-".
1
  === WP htaccess Control ===
2
  Author: António Andrade
3
+ Author URI: http://antonioandra.de/
4
+ Plugin URI: http://antonioandra.de/wp-htaccess-control
5
+ Contributors: antonioandra.de
6
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=s4mancha%40gmail%2ecom&lc=US&item_name=WP%20htaccess%20Control%20%28Antonio%20Andrade%29&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest
7
  Tags: permalinks, permalink, author, htaccess, rewrite, redirect, admin, maintenance, pagination, category, category base, archive, archives
8
  Requires at least: 2.7
9
+ Tested up to: 3.3.1
10
+ Stable tag: 2.7.1
11
 
12
  Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress.
13
 
14
  == Description ==
15
 
16
+ **WP htaccess Control** provides an interface to customize permalinks (author, category, archives and pagination) and the htaccess file generated by Wordpress. Take a look at the screenshot for a clearer exemplification.
17
  Despite the name, many of the options now present on this plugin do not use the htaccess file but the wordpress internal rewrite.
18
 
19
  **Features:**
75
 
76
  == Changelog ==
77
 
78
+ = 2.7.1 (30/03/2012) =
79
+ * *Fix:* regenerate rules on user creation or deletion;
80
+ * *Fix:* toggle handle height glitch (admin panel);
81
+ * changed menu entry title;
82
+ * updated plugin info.
83
+
84
  = 2.7 (01/10/2011) =
85
  * *Feature:* added option to "Disable file hotlinking" (thank you for the suggestion Syamsul Alam);
86
  * *Fix:* fixed erroneous description of the "Disable image hotlinking" option: if no redirection is to be done "_" should be input instead of "-".
wp-htaccess-control-ui.css CHANGED
@@ -10,7 +10,7 @@ div.updated p span{float:right;}
10
  .wphtc-section{background:#ddd;border:1px solid #ddd;border-bottom:0;margin-top:15px;-moz-border-radius:6px;-webkit-border-radius:6px;}
11
  .wphtc-section-title{-moz-user-select: none;-khtml-user-select: none;user-select: none;margin-bottom:0;width:100%;border:0;}
12
  .wphtc-section-title h3{margin:0;padding:10px;cursor:pointer;border-bottom:0;-moz-border-radius:6px;-webkit-border-radius:6px;}
13
- .wphtc-section-title .handlediv {float:right;height:35px;width:23px;cursor:pointer;}
14
  .wphtc-inputs{background:#fff;border:1px solid #ddd;border-left:0;border-right:0;-moz-border-radius:6px;-webkit-border-radius:6px;}
15
  .wphtc-inputs p,.wphtc-inputs ul{margin-left:10px}
16
  .wphtc-inputs th{font-weight:bold;}
10
  .wphtc-section{background:#ddd;border:1px solid #ddd;border-bottom:0;margin-top:15px;-moz-border-radius:6px;-webkit-border-radius:6px;}
11
  .wphtc-section-title{-moz-user-select: none;-khtml-user-select: none;user-select: none;margin-bottom:0;width:100%;border:0;}
12
  .wphtc-section-title h3{margin:0;padding:10px;cursor:pointer;border-bottom:0;-moz-border-radius:6px;-webkit-border-radius:6px;}
13
+ .wphtc-section-title .handlediv {float:right;height:34px;width:23px;cursor:pointer;}
14
  .wphtc-inputs{background:#fff;border:1px solid #ddd;border-left:0;border-right:0;-moz-border-radius:6px;-webkit-border-radius:6px;}
15
  .wphtc-inputs p,.wphtc-inputs ul{margin-left:10px}
16
  .wphtc-inputs th{font-weight:bold;}
wp-htaccess-control-ui.php CHANGED
@@ -17,7 +17,7 @@ $WPhtc_data=get_option('WPhtc_data');
17
  }
18
  ?>
19
  <div id="wphtc-sidebar">
20
- <?php $d = file_get_contents('http://dardna.com/wp-htaccess-control-donations');
21
  if($d){?>
22
  <div class="wphtc-section">
23
  <div class="wphtc-section-title stuffbox">
@@ -41,7 +41,7 @@ $WPhtc_data=get_option('WPhtc_data');
41
  </div>
42
  <div class="wphtc-inputs">
43
  <ul>
44
- <li><a href="http://dardna.com/wp-htaccess-control"><img src="http://dardna.com/favicon.ico"> Plugin Homepage</a></li>
45
  <li><a href="http://wordpress.org/extend/plugins/wp-htaccess-control/"><img src="http://s.wordpress.org/favicon.ico?3"> Plugin at Wordpress.org </a></li>
46
  <!--<li><a href="http://dardna.com/"><img src="http://dardna.com/favicon.ico"> Author Homepage</a></li>-->
47
  <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=s4mancha%40gmail%2ecom&lc=US&item_name=WP%20htaccess%20Control%20%28Antonio%20Andrade%29&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest"><img src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/en_US/i/icon/pp_favicon_x.ico"> Donate with Paypal</a></li>
17
  }
18
  ?>
19
  <div id="wphtc-sidebar">
20
+ <?php $d = file_get_contents('http://antonioandra.de/wp-htaccess-control-donations');
21
  if($d){?>
22
  <div class="wphtc-section">
23
  <div class="wphtc-section-title stuffbox">
41
  </div>
42
  <div class="wphtc-inputs">
43
  <ul>
44
+ <li><a href="http://antonioandra.de/wp-htaccess-control"><img width="16" height="16" src="http://antonioandra.de/wp-content/themes/antonioandra.de/images/antonioandra.de_favicon.png"> Plugin Homepage</a></li>
45
  <li><a href="http://wordpress.org/extend/plugins/wp-htaccess-control/"><img src="http://s.wordpress.org/favicon.ico?3"> Plugin at Wordpress.org </a></li>
46
  <!--<li><a href="http://dardna.com/"><img src="http://dardna.com/favicon.ico"> Author Homepage</a></li>-->
47
  <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=s4mancha%40gmail%2ecom&lc=US&item_name=WP%20htaccess%20Control%20%28Antonio%20Andrade%29&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest"><img src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/en_US/i/icon/pp_favicon_x.ico"> Donate with Paypal</a></li>
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: Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress.
6
- Version: 2.7
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -531,7 +531,7 @@ if (!class_exists("WPhtc")) {
531
  # Adding our options page to the admin menu
532
  function configure_menu(){
533
  if(current_user_can("administrator")){
534
- $page=add_submenu_page("options-general.php","WP htaccess Control", "WP htaControl", 6, __FILE__, array('WPhtc','wphtc_page'));
535
  add_action('admin_print_scripts-'.$page, array('WPhtc','wphtc_page_script'));
536
  add_action('admin_print_styles-'.$page, array('WPhtc','wphtc_page_style'));
537
  }
@@ -546,7 +546,7 @@ if (!class_exists("WPhtc")) {
546
  }
547
  # Options Page Actions
548
  function wphtc_page_action(){
549
- WPhtc::wphtc_check_first_run();
550
  $action=$_REQUEST['action'];
551
  global $echo;
552
  if(isset($action)){
@@ -687,5 +687,8 @@ if (isset($WPhtc)) {
687
  add_action('created_category',array($WPhtc,'refresh_rewrite_rules'));
688
  add_action('edited_category',array($WPhtc,'refresh_rewrite_rules'));
689
  add_action('delete_category',array($WPhtc,'refresh_rewrite_rules'));
 
 
 
690
  }
691
  ?>
3
  Plugin Name: WP htaccess Control
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Description: Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress.
6
+ Version: 2.7.1
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
531
  # Adding our options page to the admin menu
532
  function configure_menu(){
533
  if(current_user_can("administrator")){
534
+ $page=add_submenu_page("options-general.php","WP htaccess Control", "htaccess Control", 6, __FILE__, array('WPhtc','wphtc_page'));
535
  add_action('admin_print_scripts-'.$page, array('WPhtc','wphtc_page_script'));
536
  add_action('admin_print_styles-'.$page, array('WPhtc','wphtc_page_style'));
537
  }
546
  }
547
  # Options Page Actions
548
  function wphtc_page_action(){
549
+ $this->wphtc_check_first_run();
550
  $action=$_REQUEST['action'];
551
  global $echo;
552
  if(isset($action)){
687
  add_action('created_category',array($WPhtc,'refresh_rewrite_rules'));
688
  add_action('edited_category',array($WPhtc,'refresh_rewrite_rules'));
689
  add_action('delete_category',array($WPhtc,'refresh_rewrite_rules'));
690
+ /* This refresh should maybe be conditional/author only, maybe not */
691
+ add_action('user_register',array($WPhtc,'refresh_rewrite_rules'));
692
+ add_action('delete_user',array($WPhtc,'refresh_rewrite_rules'));
693
  }
694
  ?>