Hide My WP Ghost – Security Plugin - Version 4.1.09

Version Description

(08 Sept 2021)= * Update - Compatibility with WordPress 5.8 * Update - Website information https://hidemywpghost.com * Update - Set website logo on login page when option Hide My WP > Advanced > Clean Login is set * Update - Set change paths to work with different domain ports * Fix - Password strength error on custom login reset password * Fix - Remove only the wordpress prefetch from source code and not other domains * Fix - Plugin uninstall issue because of missing contact HMW_VERSION

Download this release

Release Info

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

Code changes from version 4.1.08 to 4.1.09

classes/Tools.php CHANGED
@@ -210,8 +210,8 @@ class HMW_Classes_Tools extends HMW_Classes_FrontController {
210
  'hmw_admin-ajax_url' => 'admin-ajax.php',
211
  'hmw_hideajax_admin' => 0,
212
  'hmw_hideajax_paths' => 1,
213
- 'hmw_plugin_url' => 'core/modules',
214
- 'hmw_themes_url' => 'core/assets',
215
  'hmw_upload_url' => 'storage',
216
  'hmw_wp-content_url' => 'core',
217
  'hmw_wp-includes_url' => 'lib',
@@ -1112,8 +1112,10 @@ class HMW_Classes_Tools extends HMW_Classes_FrontController {
1112
  }
1113
 
1114
  //clear the locked ips
1115
- HMW_Classes_ObjController::getClass( 'HMW_Controllers_Brute' )->clearBlockedIPs();
1116
-
 
 
1117
  //remove the custom rules
1118
  HMW_Classes_ObjController::getClass( 'HMW_Models_Rules' )->writeToFile( '', 'HMWP_RULES' );
1119
 
@@ -1280,7 +1282,7 @@ class HMW_Classes_Tools extends HMW_Classes_FrontController {
1280
 
1281
  $line = "\n" . "________________________________________" . "\n\n";
1282
  $to = $email;
1283
- $from = 'no-reply@wpplugins.tips';
1284
  $subject = get_bloginfo( 'name' ) . ' - ' . __( 'New Login Information', _HMW_PLUGIN_NAME_ );
1285
  $message = "Thank you for using Hide My WP Ghost!" . "\n\n";
1286
  $message .= $line;
@@ -1295,10 +1297,10 @@ class HMW_Classes_Tools extends HMW_Classes_FrontController {
1295
  $message .= site_url() . "/wp-login.php?" . self::getOption( 'hmw_disable_name' ) . "=" . self::$options['hmw_disable'] . "\n\n\n";
1296
 
1297
  $message .= "Best regards," . "\n";
1298
- $message .= "WPPlugins Team" . "\n";
1299
 
1300
  $headers = array();
1301
- $headers[] = 'From: Hide My WP <' . $from . '>';
1302
  $headers[] = 'Content-type: text/plain';
1303
 
1304
  add_filter( 'wp_mail_content_type', array( 'HMW_Classes_Tools', 'setContentType' ) );
210
  'hmw_admin-ajax_url' => 'admin-ajax.php',
211
  'hmw_hideajax_admin' => 0,
212
  'hmw_hideajax_paths' => 1,
213
+ 'hmw_plugin_url' => 'modules',
214
+ 'hmw_themes_url' => 'vews',
215
  'hmw_upload_url' => 'storage',
216
  'hmw_wp-content_url' => 'core',
217
  'hmw_wp-includes_url' => 'lib',
1112
  }
1113
 
1114
  //clear the locked ips
1115
+ if ( HMW_Classes_Tools::getOption( 'hmw_bruteforce' ) ) {
1116
+ HMW_Classes_ObjController::getClass( 'HMW_Controllers_Brute' )->clearBlockedIPs();
1117
+ }
1118
+
1119
  //remove the custom rules
1120
  HMW_Classes_ObjController::getClass( 'HMW_Models_Rules' )->writeToFile( '', 'HMWP_RULES' );
1121
 
1282
 
1283
  $line = "\n" . "________________________________________" . "\n\n";
1284
  $to = $email;
1285
+ $from = 'no-reply@hidemywpghost.com';
1286
  $subject = get_bloginfo( 'name' ) . ' - ' . __( 'New Login Information', _HMW_PLUGIN_NAME_ );
1287
  $message = "Thank you for using Hide My WP Ghost!" . "\n\n";
1288
  $message .= $line;
1297
  $message .= site_url() . "/wp-login.php?" . self::getOption( 'hmw_disable_name' ) . "=" . self::$options['hmw_disable'] . "\n\n\n";
1298
 
1299
  $message .= "Best regards," . "\n";
1300
+ $message .= "Hide My WP Ghost Team" . "\n";
1301
 
1302
  $headers = array();
1303
+ $headers[] = 'From: Hide My WP Ghost <' . $from . '>';
1304
  $headers[] = 'Content-type: text/plain';
1305
 
1306
  add_filter( 'wp_mail_content_type', array( 'HMW_Classes_Tools', 'setContentType' ) );
config/config.php CHANGED
@@ -19,12 +19,6 @@ defined( 'HMW_RULES_IN_CONFIG' ) || define( 'HMW_RULES_IN_CONFIG', true );
19
  //add HMW Rules in WordPress rewrite definition in htaccess
20
  defined( 'HMW_RULES_IN_WP_RULES' ) || define( 'HMW_RULES_IN_WP_RULES', true );
21
 
22
- //Set the PHP version ID for later use
23
- defined( 'PHP_VERSION_ID' ) || define( 'PHP_VERSION_ID', (int) str_replace( '.', '', PHP_VERSION ) );
24
- //Set the HMWP id for later verification
25
- defined( 'HMW_VERSION_ID' ) || define( 'HMW_VERSION_ID', (int) str_replace( '.', '', HMW_VERSION ) );
26
-
27
-
28
  /* No path file? error ... */
29
  require_once( dirname( __FILE__ ) . '/paths.php' );
30
 
19
  //add HMW Rules in WordPress rewrite definition in htaccess
20
  defined( 'HMW_RULES_IN_WP_RULES' ) || define( 'HMW_RULES_IN_WP_RULES', true );
21
 
 
 
 
 
 
 
22
  /* No path file? error ... */
23
  require_once( dirname( __FILE__ ) . '/paths.php' );
24
 
config/paths.php CHANGED
@@ -4,10 +4,10 @@ defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' );
4
  define( '_HMW_NAMESPACE_', 'HMW' );
5
  define( '_HMW_VER_NAME_', 'Lite' );
6
  define( '_HMW_PLUGIN_NAME_', 'hide-my-wp' );
7
- defined( '_HMW_SUPPORT_SITE_' ) || define( '_HMW_SUPPORT_SITE_', 'https://wpplugins.tips' );
8
- defined( '_HMW_ACCOUNT_SITE_' ) || define( '_HMW_ACCOUNT_SITE_', 'https://account.wpplugins.tips' );
9
  defined( '_HMW_API_SITE_' ) || define( '_HMW_API_SITE_', _HMW_ACCOUNT_SITE_ );
10
- define( '_HMW_SUPPORT_EMAIL_', 'contact@wpplugins.tips' );
11
 
12
  /* Directories */
13
  define( '_HMW_ROOT_DIR_', realpath( dirname( __FILE__ ) . '/..' ) );
4
  define( '_HMW_NAMESPACE_', 'HMW' );
5
  define( '_HMW_VER_NAME_', 'Lite' );
6
  define( '_HMW_PLUGIN_NAME_', 'hide-my-wp' );
7
+ defined( '_HMW_SUPPORT_SITE_' ) || define( '_HMW_SUPPORT_SITE_', 'https://hidemywpghost.com' );
8
+ defined( '_HMW_ACCOUNT_SITE_' ) || define( '_HMW_ACCOUNT_SITE_', 'https://account.hidemywpghost.com' );
9
  defined( '_HMW_API_SITE_' ) || define( '_HMW_API_SITE_', _HMW_ACCOUNT_SITE_ );
10
+ define( '_HMW_SUPPORT_EMAIL_', 'contact@hidemywpghost.com' );
11
 
12
  /* Directories */
13
  define( '_HMW_ROOT_DIR_', realpath( dirname( __FILE__ ) . '/..' ) );
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: 4.1.08
10
  Author: WPPlugins - WordPress Security Plugins
11
  Author URI: https://hidemywp.co
12
  License: GPLv2 or later
@@ -18,10 +18,20 @@
18
 
19
  if (defined( 'ABSPATH' ) && ! defined( 'HMW_VERSION' ) ) {
20
 
21
- define( 'HMW_VERSION', '4.1.08' );
22
- define( 'HMW_STABLE_VERSION', '4.1.07' );
 
 
 
 
 
23
  define( 'HMW_BASENAME', plugin_basename(__FILE__) );
24
 
 
 
 
 
 
25
 
26
  /* Call config files */
27
  require( dirname( __FILE__ ) . '/config/config.php' );
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: 4.1.09
10
  Author: WPPlugins - WordPress Security Plugins
11
  Author URI: https://hidemywp.co
12
  License: GPLv2 or later
18
 
19
  if (defined( 'ABSPATH' ) && ! defined( 'HMW_VERSION' ) ) {
20
 
21
+ //Set the plugin current version
22
+ define( 'HMW_VERSION', '4.1.09' );
23
+
24
+ //Set the plugin last stable version
25
+ define( 'HMW_STABLE_VERSION', '4.1.08' );
26
+
27
+ //Set the plugin basename
28
  define( 'HMW_BASENAME', plugin_basename(__FILE__) );
29
 
30
+ //Set the PHP version ID for later use
31
+ defined( 'PHP_VERSION_ID' ) || define( 'PHP_VERSION_ID', (int) str_replace( '.', '', PHP_VERSION ) );
32
+
33
+ //Set the HMWP id for later verification
34
+ defined( 'HMW_VERSION_ID' ) || define( 'HMW_VERSION_ID', (int) str_replace( '.', '', HMW_VERSION ) );
35
 
36
  /* Call config files */
37
  require( dirname( __FILE__ ) . '/config/config.php' );
models/Rewrite.php CHANGED
@@ -15,7 +15,16 @@ class HMW_Models_Rewrite {
15
  protected $_replacetextmapping = array();
16
 
17
  public function __construct() {
18
- $this->_blogurl = str_replace( 'www.', '', parse_url( site_url(), PHP_URL_HOST ) . parse_url( site_url(), PHP_URL_PATH ) );
 
 
 
 
 
 
 
 
 
19
  }
20
 
21
  /**
@@ -1071,7 +1080,6 @@ class HMW_Models_Rewrite {
1071
  add_filter( 'login_headerurl', array( $this, 'login_url' ), 99, 1 );
1072
 
1073
  if ( HMW_Classes_Tools::getOption( 'hmw_remove_third_hooks' ) ) {
1074
- $logo = false;
1075
 
1076
  if ( function_exists( 'get_theme_mod' ) && function_exists( 'wp_get_attachment_image_src' ) ) {
1077
  $custom_logo_id = get_theme_mod( 'custom_logo' );
@@ -1079,9 +1087,9 @@ class HMW_Models_Rewrite {
1079
 
1080
  if ( isset( $image[0] ) ) {
1081
  $logo = $image[0];
 
1082
  }
1083
  }
1084
- echo '<style type="text/css">#login h1 a, .login h1 a {background-image: ' . ( $logo ? "url($logo)" : "none" ) . ' !important; ' . ( $logo ? "background-position: center;" : "width: 1px !important;height: 1px !important;" ) . '}</style>';
1085
  }
1086
 
1087
  }
@@ -1122,34 +1130,6 @@ class HMW_Models_Rewrite {
1122
  add_filter( 'wp_safe_redirect_fallback', array( $this, 'loopCheck' ), 99, 1 );
1123
  add_filter( 'wp_redirect', array( $this, 'loopCheck' ), 99, 1 );
1124
 
1125
- //////////////////////////////// Rewrite the login style
1126
- wp_deregister_script( 'password-strength-meter' );
1127
- wp_deregister_script( 'user-profile' );
1128
- wp_deregister_style( 'forms' );
1129
- wp_deregister_style( 'buttons' );
1130
- wp_deregister_style( 'l10n' );
1131
- wp_deregister_style( 'login' );
1132
-
1133
- wp_register_style( 'login', _HMW_THEME_URL_ . 'wplogin/css/login.min.css', array(
1134
- 'dashicons',
1135
- 'buttons',
1136
- 'forms',
1137
- 'l10n'
1138
- ), HMW_VERSION_ID, false );
1139
- wp_register_style( 'forms', _HMW_THEME_URL_ . 'wplogin/css/forms.min.css', null, HMW_VERSION_ID, false );
1140
- wp_register_style( 'buttons', _HMW_THEME_URL_ . 'wplogin/css/buttons.min.css', null, HMW_VERSION_ID, false );
1141
- wp_register_style( 'l10n', _HMW_THEME_URL_ . 'wplogin/css/l10n.min.css', null, HMW_VERSION_ID, false );
1142
- wp_register_script( 'password-strength-meter', _HMW_THEME_URL_ . 'wplogin/js/password-strength-meter.min.js', array(
1143
- 'jquery',
1144
- 'zxcvbn-async'
1145
- ), HMW_VERSION_ID, true );
1146
- wp_register_script( 'user-profile', _HMW_THEME_URL_ . 'wplogin/js/user-profile.min.js', array(
1147
- 'jquery',
1148
- 'password-strength-meter',
1149
- 'wp-util'
1150
- ), HMW_VERSION_ID, true );
1151
- /////////////////////////////////////////////////////////
1152
-
1153
  //remove clasiera theme loop
1154
  remove_action( "login_init", "classiera_cubiq_login_init" );
1155
  remove_filter( "login_redirect", "buddyboss_redirect_previous_page" );
@@ -1157,6 +1137,37 @@ class HMW_Models_Rewrite {
1157
 
1158
  $isRedirect = HMW_Classes_Tools::getCustomLoginURL( false );
1159
  if ( HMW_Classes_Tools::getValue( 'noredirect', false ) || $isRedirect || HMW_Classes_Tools::getOption( 'hmw_remove_third_hooks' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1160
  remove_all_actions( 'login_init' );
1161
  remove_all_actions( 'login_redirect' );
1162
  remove_all_actions( 'bbp_redirect_login' );
@@ -1320,7 +1331,7 @@ class HMW_Models_Rewrite {
1320
  * @return string
1321
  * @throws Exception
1322
  */
1323
- public function sanitize_login_redirect( $redirect, $path = '', $user ) {
1324
 
1325
  if ( HMW_Classes_Tools::getOption( 'error' ) || HMW_Classes_Tools::getOption( 'logout' ) ) {
1326
  return $redirect;
@@ -1847,7 +1858,9 @@ class HMW_Models_Rewrite {
1847
  $content = preg_replace( array(
1848
  '/[\?|&]ver=[0-9a-zA-Z\.\_\-\+]+/',
1849
  '/<meta[^>]*name=[\'"]generator[\'"][^>]*>/i',
1850
- '/<link[^>]*rel=[\'"]dns-prefetch[\'"][^>]*>/i'
 
 
1851
  ), '', $content );
1852
  if ( defined( 'JETPACK__VERSION' ) ) {
1853
  $content = preg_replace( '/<script[^>]*src=[\'"]https:\/\/s0.wp.com\/wp-content\/js\/devicepx-jetpack.js[\'"][^>]*><\/script>/i', '<script type="text/javascript" src="' . _HMW_THEME_URL_ . 'js/jptraffic.js' . '"></script>', $content );
15
  protected $_replacetextmapping = array();
16
 
17
  public function __construct() {
18
+ //Get the current site URL
19
+ $siteurl = site_url();
20
+
21
+ //Set the blog URL
22
+ $this->_blogurl = str_replace( 'www.', '', parse_url( $siteurl, PHP_URL_HOST ) . parse_url( $siteurl, PHP_URL_PATH ) );
23
+
24
+ //Add the PORT if different from 80
25
+ if( parse_url( $siteurl, PHP_URL_PORT ) && parse_url( $siteurl, PHP_URL_PORT ) <> 80) {
26
+ $this->_blogurl = str_replace('www.', '', parse_url($siteurl, PHP_URL_HOST) . ':' . parse_url( $siteurl, PHP_URL_PORT ) . parse_url($siteurl, PHP_URL_PATH));
27
+ }
28
  }
29
 
30
  /**
1080
  add_filter( 'login_headerurl', array( $this, 'login_url' ), 99, 1 );
1081
 
1082
  if ( HMW_Classes_Tools::getOption( 'hmw_remove_third_hooks' ) ) {
 
1083
 
1084
  if ( function_exists( 'get_theme_mod' ) && function_exists( 'wp_get_attachment_image_src' ) ) {
1085
  $custom_logo_id = get_theme_mod( 'custom_logo' );
1087
 
1088
  if ( isset( $image[0] ) ) {
1089
  $logo = $image[0];
1090
+ echo '<style type="text/css">#login h1 a, .login h1 a {background-image: ' . ( $logo ? "url($logo)" : "none" ) . ' !important; ' . ( $logo ? "background-position: center;" : "width: 1px !important;height: 1px !important;" ) . '}</style>';
1091
  }
1092
  }
 
1093
  }
1094
 
1095
  }
1130
  add_filter( 'wp_safe_redirect_fallback', array( $this, 'loopCheck' ), 99, 1 );
1131
  add_filter( 'wp_redirect', array( $this, 'loopCheck' ), 99, 1 );
1132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1133
  //remove clasiera theme loop
1134
  remove_action( "login_init", "classiera_cubiq_login_init" );
1135
  remove_filter( "login_redirect", "buddyboss_redirect_previous_page" );
1137
 
1138
  $isRedirect = HMW_Classes_Tools::getCustomLoginURL( false );
1139
  if ( HMW_Classes_Tools::getValue( 'noredirect', false ) || $isRedirect || HMW_Classes_Tools::getOption( 'hmw_remove_third_hooks' ) ) {
1140
+
1141
+ //////////////////////////////// Rewrite the login style
1142
+ if(HMW_Classes_Tools::getOption( 'hmw_remove_third_hooks' )) {
1143
+ wp_deregister_script( 'password-strength-meter' );
1144
+ wp_deregister_script( 'user-profile' );
1145
+ wp_deregister_style( 'forms' );
1146
+ wp_deregister_style( 'buttons' );
1147
+ wp_deregister_style( 'l10n' );
1148
+ wp_deregister_style( 'login' );
1149
+
1150
+ wp_register_style( 'login', _HMW_THEME_URL_ . 'wplogin/css/login.min.css', array(
1151
+ 'dashicons',
1152
+ 'buttons',
1153
+ 'forms',
1154
+ 'l10n'
1155
+ ), HMW_VERSION_ID, false );
1156
+ wp_register_style( 'forms', _HMW_THEME_URL_ . 'wplogin/css/forms.min.css', null, HMW_VERSION_ID, false );
1157
+ wp_register_style( 'buttons', _HMW_THEME_URL_ . 'wplogin/css/buttons.min.css', null, HMW_VERSION_ID, false );
1158
+ wp_register_style( 'l10n', _HMW_THEME_URL_ . 'wplogin/css/l10n.min.css', null, HMW_VERSION_ID, false );
1159
+ wp_register_script( 'password-strength-meter', _HMW_THEME_URL_ . 'wplogin/js/password-strength-meter.min.js', array(
1160
+ 'jquery',
1161
+ 'zxcvbn-async'
1162
+ ), HMW_VERSION_ID, true );
1163
+ wp_register_script( 'user-profile', _HMW_THEME_URL_ . 'wplogin/js/user-profile.min.js', array(
1164
+ 'jquery',
1165
+ 'password-strength-meter',
1166
+ 'wp-util'
1167
+ ), HMW_VERSION_ID, true );
1168
+ }
1169
+ /////////////////////////////////////////////////////////
1170
+
1171
  remove_all_actions( 'login_init' );
1172
  remove_all_actions( 'login_redirect' );
1173
  remove_all_actions( 'bbp_redirect_login' );
1331
  * @return string
1332
  * @throws Exception
1333
  */
1334
+ public function sanitize_login_redirect( $redirect, $path = null, $user = null ) {
1335
 
1336
  if ( HMW_Classes_Tools::getOption( 'error' ) || HMW_Classes_Tools::getOption( 'logout' ) ) {
1337
  return $redirect;
1858
  $content = preg_replace( array(
1859
  '/[\?|&]ver=[0-9a-zA-Z\.\_\-\+]+/',
1860
  '/<meta[^>]*name=[\'"]generator[\'"][^>]*>/i',
1861
+ '/<link[^>]*rel=[\'"]dns-prefetch[\'"][^>]*w.org[^>]*>/i',
1862
+ '/<link[^>]*rel=[\'"]dns-prefetch[\'"][^>]*wp.org[^>]*>/i',
1863
+ '/<link[^>]*rel=[\'"]dns-prefetch[\'"][^>]*wordpress.org[^>]*>/i'
1864
  ), '', $content );
1865
  if ( defined( 'JETPACK__VERSION' ) ) {
1866
  $content = preg_replace( '/<script[^>]*src=[\'"]https:\/\/s0.wp.com\/wp-content\/js\/devicepx-jetpack.js[\'"][^>]*><\/script>/i', '<script type="text/javascript" src="' . _HMW_THEME_URL_ . 'js/jptraffic.js' . '"></script>', $content );
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: johndarrel
3
  Tags: security, wordpress security, firewall, hide my wp, hide wp-admin, hide wp-login, hide wordpress, hide wp, security plugin, ocultar mi wp, hide my site, hide my wordpress, hide, hack, antivirus
4
  Requires at least: 4.3
5
- Tested up to: 5.7
6
  Requires PHP: 5.6
7
  Stable tag: trunk
8
  Donate link: https://hidemywpghost.com/hide-my-wp-pricing/
@@ -363,6 +363,15 @@ Enjoy!
363
  8. Hide Your WP Site from Theme Detectors like wpthemedetector.com
364
 
365
  == Changelog ==
 
 
 
 
 
 
 
 
 
366
  = 4.1.08 (18 June 2021)=
367
  * Fix - Update the jetPack tracking script
368
  * Fix - Show plugin settings calling the plugin hook correctly
2
  Contributors: johndarrel
3
  Tags: security, wordpress security, firewall, hide my wp, hide wp-admin, hide wp-login, hide wordpress, hide wp, security plugin, ocultar mi wp, hide my site, hide my wordpress, hide, hack, antivirus
4
  Requires at least: 4.3
5
+ Tested up to: 5.8
6
  Requires PHP: 5.6
7
  Stable tag: trunk
8
  Donate link: https://hidemywpghost.com/hide-my-wp-pricing/
363
  8. Hide Your WP Site from Theme Detectors like wpthemedetector.com
364
 
365
  == Changelog ==
366
+ = 4.1.09 (08 Sept 2021)=
367
+ * Update - Compatibility with WordPress 5.8
368
+ * Update - Website information https://hidemywpghost.com
369
+ * Update - Set website logo on login page when option Hide My WP > Advanced > Clean Login is set
370
+ * Update - Set change paths to work with different domain ports
371
+ * Fix - Password strength error on custom login reset password
372
+ * Fix - Remove only the wordpress prefetch from source code and not other domains
373
+ * Fix - Plugin uninstall issue because of missing contact HMW_VERSION
374
+
375
  = 4.1.08 (18 June 2021)=
376
  * Fix - Update the jetPack tracking script
377
  * Fix - Show plugin settings calling the plugin hook correctly
view/Connect.php CHANGED
@@ -72,13 +72,13 @@
72
  <div class="card-body f-gray-dark text-left border-bottom">
73
  <h3 class="card-title"><?php _e( 'Activate Hide My WP', _HMW_PLUGIN_NAME_ ); ?></h3>
74
  <div class="text-info">
75
- <?php echo sprintf( __( "By activating the Free version of Hide My WP you agree with our %sTerms of Use%s and %sPrivacy Policy%s", _HMW_PLUGIN_NAME_ ), '<a href="https://wpplugins.tips/terms-of-use/" target="_blank">', '</a>', '<a href="https://wpplugins.tips/privacy-policy/" target="_blank">', '</a>' ); ?>
76
  </div>
77
  <div class="text-info mt-3">
78
  <?php echo __( 'Note! If you add your email you will receive a free token which will activate the plugin.', _HMW_PLUGIN_NAME_ ); ?>
79
  </div>
80
  <div class="text-danger mt-2">
81
- <?php echo sprintf( __( "If you bought Hide My WP Ghost please remove this plugin and install the one from %sYour Account%s", _HMW_PLUGIN_NAME_ ), '<a href="https://account.wpplugins.tips/user/" target="_blank">', '</a>' ); ?>
82
  </div>
83
  </div>
84
  </div>
72
  <div class="card-body f-gray-dark text-left border-bottom">
73
  <h3 class="card-title"><?php _e( 'Activate Hide My WP', _HMW_PLUGIN_NAME_ ); ?></h3>
74
  <div class="text-info">
75
+ <?php echo sprintf( __( "By activating the Free version of Hide My WP you agree with our %sTerms of Use%s and %sPrivacy Policy%s", _HMW_PLUGIN_NAME_ ), '<a href="https://hidemywpghost.com/terms-of-use/" target="_blank">', '</a>', '<a href="https://hidemywpghost.com/privacy-policy/" target="_blank">', '</a>' ); ?>
76
  </div>
77
  <div class="text-info mt-3">
78
  <?php echo __( 'Note! If you add your email you will receive a free token which will activate the plugin.', _HMW_PLUGIN_NAME_ ); ?>
79
  </div>
80
  <div class="text-danger mt-2">
81
+ <?php echo sprintf( __( "If you bought Hide My WP Ghost please remove this plugin and install the one from %sYour Account%s", _HMW_PLUGIN_NAME_ ), '<a href="https://account.hidemywpghost.com/user/" target="_blank">', '</a>' ); ?>
82
  </div>
83
  </div>
84
  </div>
view/Support.php CHANGED
@@ -5,7 +5,7 @@
5
  <div class="card-text my-2 text-muted">
6
  <?php echo sprintf(__("Read the plugin tutorial and how to setup every feature %sRead Hide My WP Tutorial%s", _HMW_PLUGIN_NAME_),'<br /><a href="https://hidemywpghost.com/kb/hide-my-wp-ghost-tutorial/" target="_blank"><strong>','</strong></a>') ?>
7
  <br /><br />
8
- <?php echo sprintf(__("You can also email us on %scontact@wpplugins.tips%s and we are happy to answer any question or suggestion you may have and we aim to respond within 24 hours.", _HMW_PLUGIN_NAME_),'<a href="mailto:contact@wpplugins.tips" target="_blank">','</a>') ?>
9
  </div>
10
 
11
  </form>
5
  <div class="card-text my-2 text-muted">
6
  <?php echo sprintf(__("Read the plugin tutorial and how to setup every feature %sRead Hide My WP Tutorial%s", _HMW_PLUGIN_NAME_),'<br /><a href="https://hidemywpghost.com/kb/hide-my-wp-ghost-tutorial/" target="_blank"><strong>','</strong></a>') ?>
7
  <br /><br />
8
+ <?php echo sprintf(__("You can also email us on %s and we are happy to answer any question or suggestion you may have and we aim to respond within 24 hours.", _HMW_PLUGIN_NAME_),'<a href="mailto:contact@hidemywpghost.com" target="_blank">contact@hidemywpghost.com</a>') ?>
9
  </div>
10
 
11
  </form>
view/wplogin/css/login.css CHANGED
@@ -235,8 +235,8 @@ p {
235
  }
236
 
237
  .login h1 a {
238
- background-image: url(../images/w-logo-blue.png?ver=20131202);
239
- background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
240
  background-size: 84px;
241
  background-position: center top;
242
  background-repeat: no-repeat;
235
  }
236
 
237
  .login h1 a {
238
+ background-image: url(../images/w-logo-blue.png);
239
+ background-image: none, url(../images/wordpress-logo.svg);
240
  background-size: 84px;
241
  background-position: center top;
242
  background-repeat: no-repeat;
view/wplogin/css/login.min.css CHANGED
@@ -1,2 +1 @@
1
- /*! This file is auto-generated */
2
- body,html{height:100%;margin:0;padding:0}body{background:#f1f1f1;min-width:0;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4}a{color:#0073aa;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}a{outline:0}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}p{line-height:1.5}.login #login_error,.login .message,.login .success{border-left:4px solid #00a0d2;padding:12px;margin-left:0;margin-bottom:20px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login .success{border-left-color:#46b450}.login #login_error{border-left-color:#dc3232}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login .input::-ms-clear{display:none}.login .pw-weak{margin-bottom:15px}.login .button.wp-hide-pw{background:0 0;border:1px solid transparent;box-shadow:none;font-size:14px;line-height:2;width:2.5rem;height:2.5rem;min-width:40px;min-height:40px;margin:0;padding:5px 9px;position:absolute;right:0;top:0}.login .button.wp-hide-pw:hover{background:0 0}.login .button.wp-hide-pw:focus{background:0 0;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.login .button.wp-hide-pw:active{background:0 0;box-shadow:none;transform:none}.login .button.wp-hide-pw .dashicons{width:1.25rem;height:1.25rem;top:.25rem}.login .wp-pwd{position:relative}.no-js .hide-if-no-js{display:none}.login form{margin-top:20px;margin-left:0;padding:26px 24px 46px;font-weight:400;overflow:hidden;background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 3px rgba(0,0,0,.04)}.login form.shake{animation:shake .2s cubic-bezier(.19,.49,.38,.79) both;animation-iteration-count:3;transform:translateX(0)}@keyframes shake{25%{transform:translateX(-20px)}75%{transform:translateX(20px)}100%{transform:translateX(0)}}.login-action-confirm_admin_email #login{width:60vw;margin-top:-2vh}@media screen and (max-width:782px){.login-action-confirm_admin_email #login{width:100vw}}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}.login .admin-email-confirm-form .submit{text-align:center}.admin-email__later{text-align:left}.login form p.admin-email__details{margin:1.1em 0}.login h1.admin-email__heading{border-bottom:1px #f1f1f1 solid;color:#5f5f5f;font-weight:400;padding-bottom:.5em;text-align:left}.admin-email__actions div{padding-top:1.5em}.login .admin-email__actions .button-primary{float:none;margin-left:.25em;margin-right:.25em}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{font-size:14px;line-height:1.5;display:inline-block;margin-bottom:3px}.login .forgetmenot label,.login .pw-weak label{line-height:1.5;vertical-align:baseline}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#444;height:84px;font-size:20px;font-weight:400;line-height:1.3;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#login{width:320px;padding:8% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px 0}.login #nav{margin:24px 0 0 0}#backtoblog{margin:16px 0}.login #backtoblog a,.login #nav a{text-decoration:none;color:#555d66}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#00a0d2}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login .privacy-policy-page-link{text-align:center;width:100%;margin:5em 0 2em}.login form .input,.login input[type=password],.login input[type=text]{font-size:24px;line-height:1.33333333;width:100%;border-width:.0625rem;padding:.1875rem .3125rem;margin:0 6px 16px 0;min-height:40px;max-height:none}.js.login input.password-input,.js.login-action-rp form .input,.js.login-action-rp input[type=text]{padding-right:2.5rem}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.js.login-action-rp input[type=password],.js.login-action-rp input[type=text]{margin-bottom:0}.login #pass-strength-result{font-weight:600;margin:-1px 5px 16px 0;padding:6px 5px;text-align:center;width:100%}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}.screen-reader-text,.screen-reader-text span{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}input::-ms-reveal{display:none}@-ms-viewport{width:device-width}@media screen and (max-height:550px){#login{padding:20px 0}}@media screen and (max-width:782px){.interim-login input[type=checkbox]{width:1rem;height:1rem}.interim-login input[type=checkbox]:checked:before{width:1.3125rem;height:1.3125rem;margin:-.1875rem 0 0 -.25rem}}
1
+ @keyframes shake{25%{transform:translateX(-20px)}75%{transform:translateX(20px)}to{transform:translateX(0)}}body,html{height:100%;margin:0;padding:0}body{background:#f1f1f1;min-width:0;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4}a{color:#0073aa;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out;outline:0}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover,a:active,a:hover{color:#00a0d2}a:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}p{line-height:1.5}.login #login_error,.login .message,.login .success{border-left:4px solid #00a0d2;padding:12px;margin-left:0;margin-bottom:20px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login .success{border-left-color:#46b450}.login #login_error{border-left-color:#dc3232}#loginform p.submit,.login-action-lostpassword p.submit{border:0;margin:-10px 0 20px}#login form p.submit,.login *{margin:0;padding:0}.login .input::-ms-clear{display:none}.login .pw-weak{margin-bottom:15px}.login .button.wp-hide-pw{background:0 0;border:1px solid transparent;box-shadow:none;font-size:14px;line-height:2;width:2.5rem;height:2.5rem;min-width:40px;min-height:40px;margin:0;padding:5px 9px;position:absolute;right:0;top:0}.login .button.wp-hide-pw:hover{background:0 0}.login .button.wp-hide-pw:focus{background:0 0;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.login .button.wp-hide-pw:active{background:0 0;box-shadow:none;transform:none}.login .button.wp-hide-pw .dashicons{width:1.25rem;height:1.25rem;top:.25rem}.login .wp-pwd{position:relative}.no-js .hide-if-no-js{display:none}.login form,.login h1 a{font-weight:400;overflow:hidden}.login form{margin-top:20px;margin-left:0;padding:26px 24px 46px;background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 3px rgba(0,0,0,.04)}.login form.shake{animation:shake .2s cubic-bezier(.19,.49,.38,.79) both;animation-iteration-count:3;transform:translateX(0)}.login-action-confirm_admin_email #login{width:60vw;margin-top:-2vh}@media screen and (max-width:782px){.login-action-confirm_admin_email #login{width:100vw}}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}.login .admin-email-confirm-form .submit,.login h1{text-align:center}.admin-email__later{text-align:left}.login form p.admin-email__details{margin:1.1em 0}.login h1.admin-email__heading{border-bottom:1px #f1f1f1 solid;color:#5f5f5f;font-weight:400;padding-bottom:.5em;text-align:left}.admin-email__actions div{padding-top:1.5em}.login .admin-email__actions .button-primary{float:none;margin-left:.25em;margin-right:.25em}#login form p{margin-bottom:0}.login label{font-size:14px;line-height:1.5;display:inline-block;margin-bottom:3px}.login .forgetmenot label,.login .pw-weak label{line-height:1.5;vertical-align:baseline}.login h1 a{background-image:none,url(../images/wordpress-logo.svg);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#444;height:84px;font-size:20px;line-height:1.3;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;display:block}#login{width:320px;padding:8% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0}.login #backtoblog a,.login #nav a{text-decoration:none;color:#555d66}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login .privacy-policy-page-link{text-align:center;width:100%;margin:5em 0 2em}.login form .input,.login input[type=password],.login input[type=text]{font-size:24px;line-height:1.33333333;width:100%;border-width:.0625rem;padding:.1875rem .3125rem;margin:0 6px 16px 0;min-height:40px;max-height:none}.js.login input.password-input,.js.login-action-rp form .input,.js.login-action-rp input[type=text]{padding-right:2.5rem}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.js.login-action-rp input[type=password],.js.login-action-rp input[type=text]{margin-bottom:0}.login #pass-strength-result{font-weight:600;margin:-1px 5px 16px 0;padding:6px 5px;text-align:center;width:100%}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}.screen-reader-text,.screen-reader-text span{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}input::-ms-reveal{display:none}@-ms-viewport{width:device-width}@media screen and (max-height:550px){#login{padding:20px 0}}@media screen and (max-width:782px){.interim-login input[type=checkbox]{width:1rem;height:1rem}.interim-login input[type=checkbox]:checked:before{width:1.3125rem;height:1.3125rem;margin:-.1875rem 0 0 -.25rem}}