WP Htaccess Editor - Version 1.70

Version Description

Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 WP Htaccess Editor
Version 1.70
Comparing to
See all releases

Code changes from version 1.67 to 1.70

readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: htaccess, htaccess editor, htaccess file, htaccess file editor, htaccess b
3
  Contributors: WebFactory
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
- Tested up to: 5.6
7
- Stable tag: 1.67
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -16,6 +16,8 @@ A safe & simple htaccess file editor with automatic htaccess backups & htaccess
16
 
17
  Access WP Htaccess Editor via WP Admin - Settings menu.
18
 
 
 
19
  #### Testing Htaccess Syntax
20
 
21
  Use the "test before saving" button to test htaccess file syntax before saving. Please note that this test does not check the logic of your htaccess file, ie if the redirects work as intended. It only checks for syntax errors. If you need to fix htaccess file we suggest restoring it to the default version and then add custom code line by line.
@@ -28,7 +30,6 @@ Htaccess Editor makes automatic backups of htaccess file every time you make a c
28
 
29
  WP Htaccess Editor is fully compatible and tested with WP Network (WPMU). It shows up under the Settings menu in network admin. It's not available in individual sites as there is only one htaccess file per network.
30
 
31
-
32
  The plugin was originally developed by <a href="https://profiles.wordpress.org/lukenzi">Lukenzi</a> in March of 2011.
33
 
34
  == Installation ==
@@ -56,6 +57,10 @@ Or if needed, upload manually;
56
 
57
  == Changelog ==
58
 
 
 
 
 
59
  = v1.67 =
60
  * 2021/01/30
61
  * added flyout menu
3
  Contributors: WebFactory
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
+ Tested up to: 6.1
7
+ Stable tag: 1.70
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
16
 
17
  Access WP Htaccess Editor via WP Admin - Settings menu.
18
 
19
+ **If you're having problems with SSL or HTTPS try our free <a href="https://wordpress.org/plugins/wp-force-ssl/">WP Force SSL</a> plugin. It's the easiest way to enable SSL and fix SSL problems.**
20
+
21
  #### Testing Htaccess Syntax
22
 
23
  Use the "test before saving" button to test htaccess file syntax before saving. Please note that this test does not check the logic of your htaccess file, ie if the redirects work as intended. It only checks for syntax errors. If you need to fix htaccess file we suggest restoring it to the default version and then add custom code line by line.
30
 
31
  WP Htaccess Editor is fully compatible and tested with WP Network (WPMU). It shows up under the Settings menu in network admin. It's not available in individual sites as there is only one htaccess file per network.
32
 
 
33
  The plugin was originally developed by <a href="https://profiles.wordpress.org/lukenzi">Lukenzi</a> in March of 2011.
34
 
35
  == Installation ==
57
 
58
  == Changelog ==
59
 
60
+ = v1.70 =
61
+ * 2021/03/04
62
+ * PHP 8 fixes
63
+
64
  = v1.67 =
65
  * 2021/01/30
66
  * added flyout menu
wf-flyout/config.php CHANGED
@@ -9,9 +9,10 @@ $config['icon_image'] = 'htaccess-editor.png';
9
  $config['icon_padding'] = '9px';
10
  $config['icon_size'] = '55px';
11
  $config['menu_accent_color'] = '#dd3036';
12
- $config['custom_css'] = '#wf-flyout .wff-menu-item .dashicons.dashicons-universal-access { font-size: 30px; padding: 0px 10px 0px 0; } #wf-flyout .ucp-icon .wff-icon img { max-width: 70%; } #wf-flyout .ucp-icon .wff-icon { line-height: 57px; }';
13
 
14
  $config['menu_items'] = array(
 
15
  array('href' => 'https://wpreset.com/?ref=wff-wp-htaccess', 'target' => '_blank', 'label' => 'Get WP Reset PRO with 50% off', 'icon' => 'wp-reset.png'),
16
  array('href' => 'https://underconstructionpage.com/?ref=wff-wp-htaccess&coupon=welcome', 'target' => '_blank', 'label' => 'Create the perfect Under Construction Page', 'icon' => 'ucp.png', 'class' => 'ucp-icon'),
17
  array('href' => 'https://wpsticky.com/?ref=wff-wp-htaccess', 'target' => '_blank', 'label' => 'Make a menu sticky with WP Sticky', 'icon' => 'dashicons-admin-post'),
9
  $config['icon_padding'] = '9px';
10
  $config['icon_size'] = '55px';
11
  $config['menu_accent_color'] = '#dd3036';
12
+ $config['custom_css'] = '#wf-flyout .wff-menu-item .dashicons.dashicons-universal-access { font-size: 30px; padding: 0px 10px 0px 0; } #wf-flyout .ucp-icon .wff-icon img { max-width: 70%; } #wf-flyout .ucp-icon .wff-icon { line-height: 57px; } #wf-flyout .wp301-icon .wff-icon img { max-width: 66%; } #wf-flyout .wp301-icon .wff-icon { line-height: 57px; }';
13
 
14
  $config['menu_items'] = array(
15
+ array('href' => 'https://wp301redirects.com/?ref=wff-htaccess&coupon=50off', 'label' => 'Fix most common SEO issues on WordPress that everbody ignores', 'icon' => '301-logo.png', 'class' => 'wp301-icon'),
16
  array('href' => 'https://wpreset.com/?ref=wff-wp-htaccess', 'target' => '_blank', 'label' => 'Get WP Reset PRO with 50% off', 'icon' => 'wp-reset.png'),
17
  array('href' => 'https://underconstructionpage.com/?ref=wff-wp-htaccess&coupon=welcome', 'target' => '_blank', 'label' => 'Create the perfect Under Construction Page', 'icon' => 'ucp.png', 'class' => 'ucp-icon'),
18
  array('href' => 'https://wpsticky.com/?ref=wff-wp-htaccess', 'target' => '_blank', 'label' => 'Make a menu sticky with WP Sticky', 'icon' => 'dashicons-admin-post'),
wf-flyout/icons/301-logo.png ADDED
Binary file
wp-htaccess-editor.php CHANGED
@@ -3,17 +3,17 @@
3
  Plugin Name: WP Htaccess Editor
4
  Plugin URI: https://wphtaccess.com/
5
  Description: Safe and easy way to edit the .htaccess file directly from WP admin without using FTP.
6
- Version: 1.67
7
  Requires at least: 4.0
8
  Requires PHP: 5.2
9
- Tested up to: 5.5
10
  Author: WebFactory Ltd
11
  Author URI: https://www.webfactoryltd.com/
12
  Text Domain: wp-htaccess-editor
13
  Network: true
14
 
15
  Copyright 2011 - 2018 Lukenzi (email: lukenzi@gmail.com)
16
- Copyright 2018 - 2021 WebFactory Ltd (email: support@webfactoryltd.com)
17
 
18
  This program is free software; you can redistribute it and/or modify
19
  it under the terms of the GNU General Public License, version 2, as
@@ -866,7 +866,7 @@ class WP_Htaccess_Editor
866
  echo '<p>Click the "Restore Last Saved Backup" button below the editor and .htaccess will be restored to the version before the last save. Please note that this method only works if the error in the file is logical, not syntactical. For instance, if you banned the wrong IP you can undo. But if you misspelled "RewriteCond" you have to use the method above as the only way to recover is via FTP or cPanel.</p>';
867
 
868
  echo '<b>Support</b>';
869
- echo '<p>For additional support and questions, please visit the <a href="https://wordpress.org/support/plugin/wp-htaccess-editor" target="_blank">official support forum</a> or <a href="mailto:support@webfactoryltd.com?subject=WP Htaccess Editor problems">email us</a> if the issue can\'t be discussed publically.</p>';
870
  echo '</div>';
871
 
872
 
@@ -922,7 +922,7 @@ class WP_Htaccess_Editor
922
  *
923
  * @return null
924
  */
925
- private function __clone()
926
  {
927
  }
928
 
@@ -932,7 +932,7 @@ class WP_Htaccess_Editor
932
  *
933
  * @return null
934
  */
935
- private function __sleep()
936
  {
937
  }
938
 
@@ -942,7 +942,7 @@ class WP_Htaccess_Editor
942
  *
943
  * @return null
944
  */
945
- private function __wakeup()
946
  {
947
  }
948
  } // WP_Htaccess_Editor class
3
  Plugin Name: WP Htaccess Editor
4
  Plugin URI: https://wphtaccess.com/
5
  Description: Safe and easy way to edit the .htaccess file directly from WP admin without using FTP.
6
+ Version: 1.70
7
  Requires at least: 4.0
8
  Requires PHP: 5.2
9
+ Tested up to: 6.0
10
  Author: WebFactory Ltd
11
  Author URI: https://www.webfactoryltd.com/
12
  Text Domain: wp-htaccess-editor
13
  Network: true
14
 
15
  Copyright 2011 - 2018 Lukenzi (email: lukenzi@gmail.com)
16
+ Copyright 2018 - 2022 WebFactory Ltd (email: support@webfactoryltd.com)
17
 
18
  This program is free software; you can redistribute it and/or modify
19
  it under the terms of the GNU General Public License, version 2, as
866
  echo '<p>Click the "Restore Last Saved Backup" button below the editor and .htaccess will be restored to the version before the last save. Please note that this method only works if the error in the file is logical, not syntactical. For instance, if you banned the wrong IP you can undo. But if you misspelled "RewriteCond" you have to use the method above as the only way to recover is via FTP or cPanel.</p>';
867
 
868
  echo '<b>Support</b>';
869
+ echo '<p>For additional support and questions, please visit the <a href="https://wordpress.org/support/plugin/wp-htaccess-editor" target="_blank">official support forum</a>.</p>';
870
  echo '</div>';
871
 
872
 
922
  *
923
  * @return null
924
  */
925
+ public function __clone()
926
  {
927
  }
928
 
932
  *
933
  * @return null
934
  */
935
+ public function __sleep()
936
  {
937
  }
938
 
942
  *
943
  * @return null
944
  */
945
+ public function __wakeup()
946
  {
947
  }
948
  } // WP_Htaccess_Editor class