Hide My WP Ghost – Security Plugin - Version 5.0.13

Version Description

(03 May 2022)= * Update - Compatibility with WordPress 5.9.3 * Update - Compatibility with BackUpWordPress plugin * Update - Compatibility with Themify theme * Fixed - Added the URI in the redirected URL * Fixed - Compatibility with LiteSpeed cache plugin

Download this release

Release Info

Developer johndarrel
Plugin Icon 128x128 Hide My WP Ghost – Security Plugin
Version 5.0.13
Comparing to
See all releases

Code changes from version 5.0.12 to 5.0.13

Files changed (5) hide show
  1. classes/Tools.php +2 -6
  2. index.php +3 -3
  3. models/Compatibility.php +96 -33
  4. models/Rewrite.php +8 -4
  5. readme.txt +42 -29
classes/Tools.php CHANGED
@@ -1385,16 +1385,12 @@ class HMWP_Classes_Tools
1385
  if ($url <> '' ) {
1386
  $url = str_replace(wp_make_link_relative(get_bloginfo('url')), '', $url);
1387
 
1388
- if (self::isMultisiteWithPath() && defined('PATH_CURRENT_SITE') ) {
1389
  $url = str_replace(rtrim(PATH_CURRENT_SITE, '/'), '', $url);
1390
- $url = trim($url, '/');
1391
- $url = $url . '/';
1392
- } else {
1393
- $url = trim($url, '/');
1394
  }
1395
  }
1396
 
1397
- return rtrim($url, '/') . '/';
1398
  }
1399
 
1400
  /**
1385
  if ($url <> '' ) {
1386
  $url = str_replace(wp_make_link_relative(get_bloginfo('url')), '', $url);
1387
 
1388
+ if (self::isMultisiteWithPath() && defined('PATH_CURRENT_SITE') && PATH_CURRENT_SITE <> '/' ) {
1389
  $url = str_replace(rtrim(PATH_CURRENT_SITE, '/'), '', $url);
 
 
 
 
1390
  }
1391
  }
1392
 
1393
+ return trailingslashit($url);
1394
  }
1395
 
1396
  /**
index.php CHANGED
@@ -6,7 +6,7 @@
6
  Plugin Name: Hide My WP Ghost Lite
7
  Plugin URI: https://wordpress.org/plugins/hide-my-wp/
8
  Description: The best solution for WordPress Security. Hide wp-admin, wp-login, wp-content, plugins, themes etc. Add Firewall, Brute Force protection & more. <br /> <a href="https://hidemywpghost.com/wordpress" target="_blank"><strong>Unlock all features</strong></a>
9
- Version: 5.0.12
10
  Author: WPPlugins - WordPress Security Plugins
11
  Author URI: https://hidemywp.co
12
  License: GPLv2 or later
@@ -22,10 +22,10 @@
22
  if ( defined( 'ABSPATH' ) && !defined( 'HMW_VERSION' ) ) {
23
 
24
  //Set current plugin version
25
- define( 'HMWP_VERSION', '5.0.12' );
26
 
27
  //Set the last stable version of the plugin
28
- define( 'HMWP_STABLE_VERSION', '4.1.11' );
29
 
30
  //Set the plugin basename
31
  define( 'HMWP_BASENAME', plugin_basename(__FILE__) );
6
  Plugin Name: Hide My WP Ghost Lite
7
  Plugin URI: https://wordpress.org/plugins/hide-my-wp/
8
  Description: The best solution for WordPress Security. Hide wp-admin, wp-login, wp-content, plugins, themes etc. Add Firewall, Brute Force protection & more. <br /> <a href="https://hidemywpghost.com/wordpress" target="_blank"><strong>Unlock all features</strong></a>
9
+ Version: 5.0.13
10
  Author: WPPlugins - WordPress Security Plugins
11
  Author URI: https://hidemywp.co
12
  License: GPLv2 or later
22
  if ( defined( 'ABSPATH' ) && !defined( 'HMW_VERSION' ) ) {
23
 
24
  //Set current plugin version
25
+ define( 'HMWP_VERSION', '5.0.13' );
26
 
27
  //Set the last stable version of the plugin
28
+ define( 'HMWP_STABLE_VERSION', '5.0.12' );
29
 
30
  //Set the plugin basename
31
  define( 'HMWP_BASENAME', plugin_basename(__FILE__) );
models/Compatibility.php CHANGED
@@ -58,7 +58,6 @@ class HMWP_Models_Compatibility
58
  );
59
  }
60
 
61
-
62
  } else {
63
 
64
  //If in preview mode of the front page
@@ -78,11 +77,6 @@ class HMWP_Models_Compatibility
78
  add_action('init', array($this, 'checkAppThemesConfirmEmail'));
79
  }
80
 
81
- //Compatibility with Assets plugin - tested 01102021
82
- if (HMWP_Classes_Tools::isPluginActive('wp-asset-clean-up/wpacu.php') || HMWP_Classes_Tools::isPluginActive('wp-asset-clean-up-pro/wpacu.php') ) {
83
- add_filter('wpacu_html_source', array($this, 'findReplaceCache'), PHP_INT_MAX);
84
- }
85
-
86
  //Compatibility with Autoptimize plugin - tested 01102021
87
  if (HMWP_Classes_Tools::isPluginActive('autoptimize/autoptimize.php') ) {
88
 
@@ -160,11 +154,17 @@ class HMWP_Models_Compatibility
160
  add_filter('jch_optimize_save_content', array($this, 'findReplaceCache'), PHP_INT_MAX);
161
  }
162
 
163
- //Compatibility with LiteSpeed Cache to change the cache directory too
164
- if (HMWP_Classes_Tools::isPluginActive('litespeed-cache/litespeed-cache.php') ) {
165
- add_filter('hmwp_priority_buffer', '__return_true');
166
- add_filter('litespeed_comment', '__return_false');
167
- }
 
 
 
 
 
 
168
 
169
  //Compatibility with Wp Fastest Cache
170
  if (HMWP_Classes_Tools::isPluginActive('wp-fastest-cache/wpFastestCache.php') ) {
@@ -388,11 +388,7 @@ class HMWP_Models_Compatibility
388
  if (HMWP_Classes_Tools::getValue('action') == 'backup_guard_awake' && HMWP_Classes_Tools::isPluginActive('backup-guard-gold/backup-guard-pro.php')) {
389
  add_filter('hmwp_process_hide_urls', '__return_false');
390
  }
391
- //?action=wp_async_request on Wordfence cron scans
392
- if ((HMWP_Classes_Tools::getValue('action') == 'wordfence_doScan' || HMWP_Classes_Tools::getValue('action') == 'wordfence_testAjax') && HMWP_Classes_Tools::isPluginActive('wordfence/wordfence.php')) {
393
- set_transient('hmwp_disable_hide_urls', 1, 60);
394
- add_filter('hmwp_process_hide_urls', '__return_false');
395
- }
396
  //?action=hmbkp_cron_test on backupguard scans
397
  if (HMWP_Classes_Tools::getValue('action') == 'hmbkp_cron_test' && HMWP_Classes_Tools::isPluginActive('backupwordpress/backupwordpress.php')) {
398
  add_filter('hmwp_process_hide_urls', '__return_false');
@@ -407,6 +403,47 @@ class HMWP_Models_Compatibility
407
  }, 10
408
  );
409
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  //Compatibility with WPML plugin
411
  if (HMWP_Classes_Tools::isPluginActive('sitepress-multilingual-cms/sitepress.php') ) {
412
  //WPML checks the HTTP_REFERER based on wp-admin and not the custom admin path
@@ -552,6 +589,7 @@ class HMWP_Models_Compatibility
552
  'et_fb', //Divi
553
  'ct_builder', //Oxygen
554
  'tve', //Thrive
 
555
  'preview', //Blockeditor & Gutenberg
556
  'elementor-preview', //Elementor
557
  'uxb_iframe',
@@ -637,6 +675,48 @@ class HMWP_Models_Compatibility
637
  $content_dir = $wp_filesystem->wp_content_dir();
638
 
639
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
640
  //Change the paths in the cached css
641
  if (HMWP_Classes_Tools::isPluginActive('fusion-builder/fusion-builder.php') ) {
642
  //Set the cache directory for this plugin
@@ -948,23 +1028,6 @@ class HMWP_Models_Compatibility
948
 
949
  }
950
 
951
- //Change the paths in the cached css
952
- if (HMWP_Classes_Tools::isPluginActive('elementor/elementor.php') ) {
953
- //Set the cache directory for this plugin
954
- $path = $content_dir . HMWP_Classes_Tools::$default['hmwp_upload_url'] . '/elementor/css/';
955
- if($wp_filesystem->is_dir($path)) {
956
- HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->setCachePath($path);
957
-
958
- //change the paths in css
959
- HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->changePathsInCss();
960
- //change the paths in js
961
- HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->changePathsInJs();
962
-
963
- //mark as cache changed
964
- $changed = true;
965
- }
966
- }
967
-
968
  //IF none of these plugins are installed. Search whole directory.
969
  if (!$changed || HMWP_Classes_Tools::getOption('hmwp_change_in_cache_directory') <> '') {
970
  //Set the cache directory for this plugin
58
  );
59
  }
60
 
 
61
  } else {
62
 
63
  //If in preview mode of the front page
77
  add_action('init', array($this, 'checkAppThemesConfirmEmail'));
78
  }
79
 
 
 
 
 
 
80
  //Compatibility with Autoptimize plugin - tested 01102021
81
  if (HMWP_Classes_Tools::isPluginActive('autoptimize/autoptimize.php') ) {
82
 
154
  add_filter('jch_optimize_save_content', array($this, 'findReplaceCache'), PHP_INT_MAX);
155
  }
156
 
157
+ //Compatibility with LiteSpeed Cache to change the cache directory too
158
+ if (HMWP_Classes_Tools::isPluginActive('litespeed-cache/litespeed-cache.php') ) {
159
+ add_action( 'litespeed_initing' , function (){
160
+ if (! defined( 'LITESPEED_DISABLE_ALL' ) || ! defined( 'LITESPEED_GUEST_OPTM' )){
161
+ add_filter('hmwp_process_buffer', '__return_false');
162
+ }
163
+ });
164
+ add_filter( 'litespeed_buffer_finalize', array($this, 'findReplaceCache'), PHP_INT_MAX );
165
+ add_filter('hmwp_priority_buffer', '__return_true');
166
+ add_filter('litespeed_comment', '__return_false');
167
+ }
168
 
169
  //Compatibility with Wp Fastest Cache
170
  if (HMWP_Classes_Tools::isPluginActive('wp-fastest-cache/wpFastestCache.php') ) {
388
  if (HMWP_Classes_Tools::getValue('action') == 'backup_guard_awake' && HMWP_Classes_Tools::isPluginActive('backup-guard-gold/backup-guard-pro.php')) {
389
  add_filter('hmwp_process_hide_urls', '__return_false');
390
  }
391
+
 
 
 
 
392
  //?action=hmbkp_cron_test on backupguard scans
393
  if (HMWP_Classes_Tools::getValue('action') == 'hmbkp_cron_test' && HMWP_Classes_Tools::isPluginActive('backupwordpress/backupwordpress.php')) {
394
  add_filter('hmwp_process_hide_urls', '__return_false');
403
  }, 10
404
  );
405
 
406
+ //add Wordfence compativility
407
+ if(HMWP_Classes_Tools::isPluginActive('wordfence/wordfence.php')) {
408
+
409
+ add_action('init', function () {
410
+ if(is_admin()) {
411
+
412
+ //if it's wordfence scan
413
+ if(HMWP_Classes_Tools::getValue('action') == 'wordfence_scan') {
414
+ set_transient('hmwp_disable_hide_urls', 1, (3600 * 6));
415
+ }
416
+
417
+ //Add the Wordfence menu when the wp-admin path is changed
418
+ if (is_multisite()) {
419
+ if (class_exists('wfUtils') && !wfUtils::isAdminPageMU()) {
420
+ add_action('network_admin_menu', 'wordfence::admin_menus', 10);
421
+ add_action('network_admin_menu', 'wordfence::admin_menus_20', 20);
422
+ add_action('network_admin_menu', 'wordfence::admin_menus_30', 30);
423
+ add_action('network_admin_menu', 'wordfence::admin_menus_40', 40);
424
+ add_action('network_admin_menu', 'wordfence::admin_menus_50', 50);
425
+ add_action('network_admin_menu', 'wordfence::admin_menus_60', 60);
426
+ add_action('network_admin_menu', 'wordfence::admin_menus_70', 70);
427
+ add_action('network_admin_menu', 'wordfence::admin_menus_80', 80);
428
+ add_action('network_admin_menu', 'wordfence::admin_menus_90', 90);
429
+ } //else don't show menu
430
+ }
431
+ }
432
+ });
433
+
434
+ if(HMWP_Classes_Tools::isAjax()) {
435
+ //?action=wordfence_doScan on Wordfence cron scans
436
+ if ((HMWP_Classes_Tools::getValue('action') == 'wordfence_doScan' || HMWP_Classes_Tools::getValue('action') == 'wordfence_testAjax') ) {
437
+ add_filter('hmwp_process_hide_urls', '__return_false');
438
+ }
439
+ }
440
+
441
+ //Add fix for the virus scan
442
+ add_action('wordfence_start_scheduled_scan', function () {
443
+ set_transient('hmwp_disable_hide_urls', 1, (3600 * 6));
444
+ });
445
+ }
446
+
447
  //Compatibility with WPML plugin
448
  if (HMWP_Classes_Tools::isPluginActive('sitepress-multilingual-cms/sitepress.php') ) {
449
  //WPML checks the HTTP_REFERER based on wp-admin and not the custom admin path
589
  'et_fb', //Divi
590
  'ct_builder', //Oxygen
591
  'tve', //Thrive
592
+ 'tb-preview', //Themify
593
  'preview', //Blockeditor & Gutenberg
594
  'elementor-preview', //Elementor
595
  'uxb_iframe',
675
  $content_dir = $wp_filesystem->wp_content_dir();
676
 
677
 
678
+ //Change the paths in the elementor cached css
679
+ if (HMWP_Classes_Tools::isPluginActive('elementor/elementor.php') ) {
680
+ if (HMWP_Classes_Tools::isMultisites() ) {
681
+
682
+ global $wpdb;
683
+ $this->paths = array();
684
+
685
+ if ($blogs = $wpdb->get_results("SELECT blog_id FROM " . $wpdb->blogs . " where blog_id > 1")) {
686
+ foreach ($blogs as $blog) {
687
+
688
+ //Set the cache directory for this plugin
689
+ $path = $content_dir . HMWP_Classes_Tools::$default['hmwp_upload_url'] . '/sites/' . $blog->blog_id . '/elementor/css/';
690
+
691
+ if ($wp_filesystem->is_dir($path)) {
692
+
693
+ //Set the cache directory for this plugin
694
+ HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->setCachePath($path);
695
+
696
+ //change the paths in css
697
+ HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->changePathsInCss();
698
+
699
+ //mark as cache changed
700
+ $changed = true;
701
+ }
702
+ }
703
+ }
704
+ }else{
705
+ //Set the cache directory for this plugin
706
+ $path = $content_dir . HMWP_Classes_Tools::$default['hmwp_upload_url'] . '/elementor/css/';
707
+ if($wp_filesystem->is_dir($path)) {
708
+ HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->setCachePath($path);
709
+
710
+ //change the paths in css
711
+ HMWP_Classes_ObjController::getClass('HMWP_Models_Cache')->changePathsInCss();
712
+
713
+ //mark as cache changed
714
+ $changed = true;
715
+ }
716
+ }
717
+
718
+ }
719
+
720
  //Change the paths in the cached css
721
  if (HMWP_Classes_Tools::isPluginActive('fusion-builder/fusion-builder.php') ) {
722
  //Set the cache directory for this plugin
1028
 
1029
  }
1030
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1031
  //IF none of these plugins are installed. Search whole directory.
1032
  if (!$changed || HMWP_Classes_Tools::getOption('hmwp_change_in_cache_directory') <> '') {
1033
  //Set the cache directory for this plugin
models/Rewrite.php CHANGED
@@ -722,15 +722,19 @@ class HMWP_Models_Rewrite
722
  public function flushRewrites()
723
  {
724
  $rewritecode = '';
725
- $config_file = HMWP_Classes_ObjController::getClass('HMWP_Models_Rules')->getConfFile();
 
726
 
727
  $form = '<a href="'.add_query_arg(array('hmwp_nonce' => wp_create_nonce('hmwp_manualrewrite'), 'action' => 'hmwp_manualrewrite')) .'" class="btn rounded-0 btn-success save" />' . esc_html__("Okay, I set it up", 'hide-my-wp') . '</a>';
728
 
729
- $path = parse_url(site_url(), PHP_URL_PATH);
 
 
 
 
 
730
  if ($path ) {
731
  $home_root = trailingslashit($path);
732
- } else {
733
- $home_root = '/';
734
  }
735
 
736
  //If Windows Server
722
  public function flushRewrites()
723
  {
724
  $rewritecode = '';
725
+ $home_root = '/';
726
+ $config_file = HMWP_Classes_ObjController::getClass('HMWP_Models_Rules')->getConfFile();
727
 
728
  $form = '<a href="'.add_query_arg(array('hmwp_nonce' => wp_create_nonce('hmwp_manualrewrite'), 'action' => 'hmwp_manualrewrite')) .'" class="btn rounded-0 btn-success save" />' . esc_html__("Okay, I set it up", 'hide-my-wp') . '</a>';
729
 
730
+ if(HMWP_Classes_Tools::isMultisites() && defined('PATH_CURRENT_SITE')){
731
+ $path = PATH_CURRENT_SITE;
732
+ }else {
733
+ $path = parse_url(site_url(), PHP_URL_PATH);
734
+ }
735
+
736
  if ($path ) {
737
  $home_root = trailingslashit($path);
 
 
738
  }
739
 
740
  //If Windows Server
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: johndarrel
3
  Tags: security,firewall,hide,antivirus,wp-login,wp-admin,hide wordpress,hide wp,security plugin
4
  Requires at least: 4.3
5
- Tested up to: 5.9
6
  Requires PHP: 5.6
7
- Stable tag: 5.0.12
8
  Donate link: https://hidemywpghost.com/hide-my-wp-pricing/
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -55,7 +55,7 @@ For owners of WordPress sites, statistics like that one raises particular worrie
55
 
56
  **Is your website secure?** Check your website with <a href="https://wpplugins.tips/wordpress-vulnerability-detector/" >Free Website Security Check</a>
57
 
58
- Protect your WordPress website by hiding the authentication paths like wp-admin, wp-login.php, and wp-login and change the common WordPress paths like wp-content, wp-includes, uploads, and more.
59
 
60
  Hide My WP Ghost is packed with awesome security features:
61
 
@@ -124,11 +124,17 @@ Hide My WP Ghost is packed with awesome security features:
124
  > * Disable Embed scripts
125
  > * Disable DB-Debug in Frontend
126
  > * Disable WLW Manifest scripts
 
 
 
 
 
 
 
127
  > * Disable Right Click
128
- > * Disable Copy-Paste
129
  > * Disable Drag-Drop
130
- > * Disable Inspect Element
131
- > * Disable View Source
132
  > * Disable Directory Browsing
133
  >
134
  > <strong>Mapping Text and URLs: </strong>
@@ -153,10 +159,10 @@ Hide My WP Ghost is packed with awesome security features:
153
  >
154
  > * Backup and Restore settings
155
  > * Fix relative URLs
156
- > * Change classes on source-code using Text Mapping
157
- > * Change URLs on source-code using URL Mapping
158
  > * Cache CSS, JS, and Images to optimize the loading speed
159
- > * Weekly security check and reports
160
  >
161
  > <strong>Integrations:</strong>
162
  >
@@ -198,7 +204,7 @@ Compatible with: <strong>WP Multisite, Apache, Litespeed, Nginx and IIS</strong>
198
  Plugins Compatibility updates: **WPML, WPMUDEV, W3 Total Cache, Gravity, WP Super Cache, WP Fastest Cache, Hummingbird Cache, Cachify Cache, Litespeed Cache, SiteGround Optimizer,
199
  Cache Enabler, CDN Enabler, WOT Cache, Autoptimize, Jetpack by WordPress, Contact Form 7, bbPress, Manage WP,
200
  All In One SEO, Rank Math, Yoast SEO, Squirrly SEO, WP-Rocket, Minify HTML, iThemes Security, Sucuri Security, Really Simple SSL, WordFence Security, WP Cerber Security, BBQ Firewall, Anti-Malware Security,
201
- Back-Up WordPress, Elementor Page Builder, Divi Builder, Weglot Translate, AddToAny Share Btn, Limit Login Attempts Reloaded, Loginizer, Shield Security, Asset CleanUp, WP Hide & Security Enhancer and more**
202
 
203
  Compatibility Plugins List: https://hidemywpghost.com/hide-my-wp-compatibility-plugins-list/
204
  Compatibility Theme List: https://hidemywpghost.com/hide-my-wp-ghost-compatibility-themes-list/
@@ -266,9 +272,16 @@ Enjoy!
266
  6. Run Security Check to check over 35 security signals with detailed solutions.
267
  7. Set custom plugins name and themes name to be able to hide the WordPress Common Paths
268
  8. Change the login path and protect your website from hacker bots
269
- 9. Customize the wp-admin path while logged in as administrator
270
 
271
  == Changelog ==
 
 
 
 
 
 
 
272
  = 5.0.12 (08 Mar 2022)=
273
  * Update - Added compatibility with Backup Guard Plugin
274
  * Update - Prevent affecting the cron processes on Wordfence & changing the paths during the cron process
@@ -327,22 +340,22 @@ Enjoy!
327
  * Update - Added compatibility with WP Bakery plugin
328
  * Update - Added compatibility with Bunny CDN plugin
329
  * Update - Update compatibility with Manage WP plugin
330
- * Update - Update compatibility with Autoptimize plugin
331
  * Update - Update compatibility with Breeze plugin
332
  * Update - Update compatibility with Cache Enabler plugin
333
  * Update - Update compatibility with CDN Enabler plugin
334
  * Update - Update compatibility with Comet Cache plugin
335
- * Update - Update compatibility with Hummingbird plugin
336
  * Update - Update compatibility with Hyper Cache plugin
337
- * Update - Update compatibility with Litespeed Cache plugin
338
- * Update - Update compatibility with Power Cache plugin
339
- * Update - Update compatibility with W3 Total Cache plugin
340
  * Update - Update compatibility with WP Fastest Cache plugin
341
- * Update - Update compatibility with iThemes plugin
342
  * Update - Added compatibility with Hummingbird Performance plugin
343
  * Update - Advanced Text Mapping to work with Page Builders in admin
344
  * Update - Changing the paths in sitemap.xml and robots.txt to work with all SEO plugins
345
- * Update - Translate the plugin in more languages
346
  * Update - Select the cache directory if there is a custom cache directory set in the cache plugin
347
  * Update - Show the change in cache files option for more cache plugins
348
  * Update - Removed the WordPress title tag from login/register pages
@@ -397,7 +410,7 @@ Enjoy!
397
  = 4.1.08 (18 June 2021)=
398
  * Fix - Update the jetPack tracking script
399
  * Fix - Show plugin settings calling the plugin to hook correctly
400
- * Fix - Warning: Constants may only evaluate to scalar values in hide-my-wp/config/config.php on line 107
401
  * Fix - Removed the memory limit verification
402
  * Fix - Add a warning for memory under 64MB
403
  * Fix - Fixed the <?PHP warning in Permalinks at the end of the file
@@ -436,7 +449,7 @@ Enjoy!
436
  * Update - Security Check to hide readme.html, license.txt, and other common files
437
 
438
  = 4.1.03 (11 Dec 2020) =
439
- * Update - The rules update on adding new plugin or theme
440
  * Update - Added compatibility for AppThemes Confirm Email
441
  * Fixed - Rollback the settings when pressing the Abort button
442
  * Fixed - Fixed Backup/Restore rules flash
@@ -509,7 +522,7 @@ Enjoy!
509
  * Update - The Security Check report task
510
  * Update - Plugin security on Security Check
511
  * Update - The plugins list in Hide My WP
512
- * Fixed - Removed the map URL from bootstrap CSS and js
513
  * Fixed - CSS in Hide My WP Settings
514
 
515
  = 4.0.04 (16 June 2020 ) =
@@ -535,7 +548,7 @@ Enjoy!
535
 
536
  = 4.0.01 (29 April 2020) =
537
  * Update - Show the Hide My WP menu only on Network if WP Multisite
538
- * Update - Prevent from loading the style from wp-admin in the custom login page
539
  * Update - WPEngine 2020 rewrites compatibility
540
  * Update - Added option to hide only the IDs and Classes in Hide My WP > Text Mapping
541
  * Update - Added the option to remove the WordPress common paths in /robots.txt file
@@ -635,8 +648,8 @@ Enjoy!
635
  * Don't show the speedometer if the security check didn't run yet
636
 
637
  = 3.3.00 (14 Jun 2019) =
638
- * Update - Added the option to change all the plugins name
639
- * Update - Added the option to change all the themes name
640
  * Update - Added Dashboard Security Widget
641
  * Update - Show the security level and the list of tasks to fix the security issues
642
  * Update - Added the option to check the security after the settings are saved
@@ -700,7 +713,7 @@ Enjoy!
700
 
701
  = 3.0.04 (18 Jan 2019) =
702
  * Update - Security updates for 2019 Jan
703
- * Fix - Remove the wp-image from Mapping feature to prevent breaking the banner for some WP Themes
704
  * Fix - Update rewrite rules when settings are saved
705
 
706
  = 3.0.03 (12 Jan 2019) =
@@ -803,7 +816,7 @@ Enjoy!
803
 
804
  = 2.0.02 (03 Sept 2018) =
805
  * Update - Made Security Check Notification optional
806
- * Fixed - Don't change the paths on update from version 1 to 2
807
  * Fixed - remove wp-config.php admin cookie line if it remains from other plugins
808
 
809
  = 2.0.01 (10 Aug 2018) =
@@ -836,16 +849,16 @@ The plugin also works with Apache, Nginx, IIS, and LiteSpeed servers
836
 
837
  = Is Hide My WP Ghost working on Nginx Server? =
838
 
839
- Yes, the plugin works on Nginx Server and you will be guided for the redirects and Nginx. conf settings.
840
 
841
  The plugin also works with Apache, IIS, and LiteSpeed servers
842
 
843
  = My website theme is not loading correctly after I change the paths. What should I do? =
844
 
845
- This issue is most likely from setting the rewrite rules.
846
 
847
  1. Make sure you purge the cache if you have cache plugins after you save the Hide My WP Ghost settings.
848
- 2. In case the .htaccess (for apache) or nginx.conf (for Nginx) or web.config (for IIS) is not writable you need to add the rewrites manually.
849
  3. If you have Nginx server make sure you reload the Nginx after you save the settings.
850
  4. If the theme is still not loading okay, contact us and we can set up the plugin for you for free.
851
 
2
  Contributors: johndarrel
3
  Tags: security,firewall,hide,antivirus,wp-login,wp-admin,hide wordpress,hide wp,security plugin
4
  Requires at least: 4.3
5
+ Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 5.0.13
8
  Donate link: https://hidemywpghost.com/hide-my-wp-pricing/
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
55
 
56
  **Is your website secure?** Check your website with <a href="https://wpplugins.tips/wordpress-vulnerability-detector/" >Free Website Security Check</a>
57
 
58
+ Protect your WordPress website by hiding the authentication paths like wp-admin, wp-login.php, and wp-login, and change the common WordPress paths like wp-content, wp-includes, uploads, and more.
59
 
60
  Hide My WP Ghost is packed with awesome security features:
61
 
124
  > * Disable Embed scripts
125
  > * Disable DB-Debug in Frontend
126
  > * Disable WLW Manifest scripts
127
+ > * Disable Select All - Ctrl+A (Windows and Linux), ⌘+A (macOS)
128
+ > * Disable Copy - Ctrl+C (Windows and Linux), ⌘+C (macOS)
129
+ > * Disable Cut - Ctrl+X (Windows and Linux), ⌘+X (macOS)
130
+ > * Disable Paste - Ctrl+V (Windows and Linux), ⌘+V (macOS)
131
+ > * Disable Save - Ctrl+S (Windows and Linux), ⌘+S (macOS)
132
+ > * Disable Inspect Element/Developer Tool - Ctrl+Shift+I (Windows and Linux), ⌘+⌥+I (macOS)
133
+ > * Disable View Source - Ctrl+U (Windows and Linux), ⌘+U (macOS)
134
  > * Disable Right Click
 
135
  > * Disable Drag-Drop
136
+ > * Disable Image Dragging by Mouse
137
+ > * Disable Text Selection
138
  > * Disable Directory Browsing
139
  >
140
  > <strong>Mapping Text and URLs: </strong>
159
  >
160
  > * Backup and Restore settings
161
  > * Fix relative URLs
162
+ > * Change classes on source code using Text Mapping
163
+ > * Change URLs on source code using URL Mapping
164
  > * Cache CSS, JS, and Images to optimize the loading speed
165
+ > * Weekly security checks and reports
166
  >
167
  > <strong>Integrations:</strong>
168
  >
204
  Plugins Compatibility updates: **WPML, WPMUDEV, W3 Total Cache, Gravity, WP Super Cache, WP Fastest Cache, Hummingbird Cache, Cachify Cache, Litespeed Cache, SiteGround Optimizer,
205
  Cache Enabler, CDN Enabler, WOT Cache, Autoptimize, Jetpack by WordPress, Contact Form 7, bbPress, Manage WP,
206
  All In One SEO, Rank Math, Yoast SEO, Squirrly SEO, WP-Rocket, Minify HTML, iThemes Security, Sucuri Security, Really Simple SSL, WordFence Security, WP Cerber Security, BBQ Firewall, Anti-Malware Security,
207
+ Back-Up WordPress, Elementor Page Builder, Divi Builder, Weglot Translate, AddToAny Share Btn, Limit Login Attempts Reloaded, Loginizer, Shield Security, Asset CleanUp, WP Hide & Security Enhancer, and more**
208
 
209
  Compatibility Plugins List: https://hidemywpghost.com/hide-my-wp-compatibility-plugins-list/
210
  Compatibility Theme List: https://hidemywpghost.com/hide-my-wp-ghost-compatibility-themes-list/
272
  6. Run Security Check to check over 35 security signals with detailed solutions.
273
  7. Set custom plugins name and themes name to be able to hide the WordPress Common Paths
274
  8. Change the login path and protect your website from hacker bots
275
+ 9. Customize the wp-admin path while logged in as an administrator
276
 
277
  == Changelog ==
278
+ = 5.0.13 (03 May 2022)=
279
+ * Update - Compatibility with WordPress 5.9.3
280
+ * Update - Compatibility with BackUpWordPress plugin
281
+ * Update - Compatibility with Themify theme
282
+ * Fixed - Added the URI in the redirected URL
283
+ * Fixed - Compatibility with LiteSpeed cache plugin
284
+
285
  = 5.0.12 (08 Mar 2022)=
286
  * Update - Added compatibility with Backup Guard Plugin
287
  * Update - Prevent affecting the cron processes on Wordfence & changing the paths during the cron process
340
  * Update - Added compatibility with WP Bakery plugin
341
  * Update - Added compatibility with Bunny CDN plugin
342
  * Update - Update compatibility with Manage WP plugin
343
+ * Update - Update compatibility with the Autoptimize plugin
344
  * Update - Update compatibility with Breeze plugin
345
  * Update - Update compatibility with Cache Enabler plugin
346
  * Update - Update compatibility with CDN Enabler plugin
347
  * Update - Update compatibility with Comet Cache plugin
348
+ * Update - Update compatibility with the Hummingbird plugin
349
  * Update - Update compatibility with Hyper Cache plugin
350
+ * Update - Update compatibility with the Litespeed Cache plugin
351
+ * Update - Update compatibility with the Power Cache plugin
352
+ * Update - Update compatibility with the W3 Total Cache plugin
353
  * Update - Update compatibility with WP Fastest Cache plugin
354
+ * Update - Update compatibility with the iThemes plugin
355
  * Update - Added compatibility with Hummingbird Performance plugin
356
  * Update - Advanced Text Mapping to work with Page Builders in admin
357
  * Update - Changing the paths in sitemap.xml and robots.txt to work with all SEO plugins
358
+ * Update - Translate the plugin into more languages
359
  * Update - Select the cache directory if there is a custom cache directory set in the cache plugin
360
  * Update - Show the change in cache files option for more cache plugins
361
  * Update - Removed the WordPress title tag from login/register pages
410
  = 4.1.08 (18 June 2021)=
411
  * Fix - Update the jetPack tracking script
412
  * Fix - Show plugin settings calling the plugin to hook correctly
413
+ * Fix - Warning: Constants may only evaluate scalar values in hide-my-wp/config/config.php on line 107
414
  * Fix - Removed the memory limit verification
415
  * Fix - Add a warning for memory under 64MB
416
  * Fix - Fixed the <?PHP warning in Permalinks at the end of the file
449
  * Update - Security Check to hide readme.html, license.txt, and other common files
450
 
451
  = 4.1.03 (11 Dec 2020) =
452
+ * Update - The rules update on adding a new plugin or theme
453
  * Update - Added compatibility for AppThemes Confirm Email
454
  * Fixed - Rollback the settings when pressing the Abort button
455
  * Fixed - Fixed Backup/Restore rules flash
522
  * Update - The Security Check report task
523
  * Update - Plugin security on Security Check
524
  * Update - The plugins list in Hide My WP
525
+ * Fixed - Removed the map URL from bootstrap CSS and JS
526
  * Fixed - CSS in Hide My WP Settings
527
 
528
  = 4.0.04 (16 June 2020 ) =
548
 
549
  = 4.0.01 (29 April 2020) =
550
  * Update - Show the Hide My WP menu only on Network if WP Multisite
551
+ * Update - Prevent loading the style from wp-admin in the custom login page
552
  * Update - WPEngine 2020 rewrites compatibility
553
  * Update - Added option to hide only the IDs and Classes in Hide My WP > Text Mapping
554
  * Update - Added the option to remove the WordPress common paths in /robots.txt file
648
  * Don't show the speedometer if the security check didn't run yet
649
 
650
  = 3.3.00 (14 Jun 2019) =
651
+ * Update - Added the option to change all the plugin's name
652
+ * Update - Added the option to change all the theme's name
653
  * Update - Added Dashboard Security Widget
654
  * Update - Show the security level and the list of tasks to fix the security issues
655
  * Update - Added the option to check the security after the settings are saved
713
 
714
  = 3.0.04 (18 Jan 2019) =
715
  * Update - Security updates for 2019 Jan
716
+ * Fix - Remove the wp-image from the Mapping feature to prevent breaking the banner for some WP Themes
717
  * Fix - Update rewrite rules when settings are saved
718
 
719
  = 3.0.03 (12 Jan 2019) =
816
 
817
  = 2.0.02 (03 Sept 2018) =
818
  * Update - Made Security Check Notification optional
819
+ * Fixed - Don't change the paths on updates from version 1 to 2
820
  * Fixed - remove wp-config.php admin cookie line if it remains from other plugins
821
 
822
  = 2.0.01 (10 Aug 2018) =
849
 
850
  = Is Hide My WP Ghost working on Nginx Server? =
851
 
852
+ Yes, the plugin works on Nginx Server and you will be guided for the redirects and nginx.conf settings.
853
 
854
  The plugin also works with Apache, IIS, and LiteSpeed servers
855
 
856
  = My website theme is not loading correctly after I change the paths. What should I do? =
857
 
858
+ This issue is most likely from setting the rewritten rules.
859
 
860
  1. Make sure you purge the cache if you have cache plugins after you save the Hide My WP Ghost settings.
861
+ 2. In case the .htaccess (for apache) or nginx.conf (for Nginx) or web. config (for IIS) is not writable you need to add the rewrites manually.
862
  3. If you have Nginx server make sure you reload the Nginx after you save the settings.
863
  4. If the theme is still not loading okay, contact us and we can set up the plugin for you for free.
864