WP Hide & Security Enhancer - Version 1.0.4

Version Description

  • Text Domain fix from wp-hide to wp-hide-security-enhancer
Download this release

Release Info

Developer nsp-code
Plugin Icon 128x128 WP Hide & Security Enhancer
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

include/wph.class.php CHANGED
@@ -183,28 +183,28 @@
183
 
184
  //help nottice
185
  if(isset($_GET['page']) && $_GET['page'] == 'wp-hide')
186
- echo "<div class='updated'><p>". __('Help us to improve this plugin by reporting any issues at ', 'wp-hide') .'<a target="_blank" href="http://www.nsp-code.com/">www.nsp-code.com</a></p></div>';
187
 
188
  //check for permalinks enabled
189
  if (!$this->functions->is_permalink_enabled())
190
  {
191
- echo "<div class='error'><p>". __('Permalink is required to be turned ON for WP Hide & Security Enhancer to work', 'wp-hide') ."</p></div>";
192
  }
193
 
194
  if(isset($_GET['settings_updated']))
195
  {
196
- echo "<div class='updated'><p>". __('Settings saved', 'wp-hide') ."</p></div>";
197
 
198
  $active_plugins = (array) get_option( 'active_plugins', array() );
199
 
200
  //cache plugin nottice
201
  if(array_search('w3-total-cache/w3-total-cache.php', $active_plugins) !== FALSE)
202
  {
203
- echo "<div class='error'><p>". __('W3 Total Cache Plugin is active, make sure you clear the cache for new changes to apply', 'wp-hide') ."</p></div>";
204
  }
205
  if(array_search('wp-super-cache/wp-cache.php', $active_plugins) !== FALSE)
206
  {
207
- echo "<div class='error'><p>". __('WP Super Cache Plugin is active, make sure you clear the cache for new changes to apply', 'wp-hide') ."</p></div>";
208
  }
209
  }
210
 
183
 
184
  //help nottice
185
  if(isset($_GET['page']) && $_GET['page'] == 'wp-hide')
186
+ echo "<div class='updated'><p>". __('Help us to improve this plugin by reporting any issues at ', 'wp-hide-security-enhancer') .'<a target="_blank" href="http://www.nsp-code.com/">www.nsp-code.com</a></p></div>';
187
 
188
  //check for permalinks enabled
189
  if (!$this->functions->is_permalink_enabled())
190
  {
191
+ echo "<div class='error'><p>". __('Permalink is required to be turned ON for WP Hide & Security Enhancer to work', 'wp-hide-security-enhancer') ."</p></div>";
192
  }
193
 
194
  if(isset($_GET['settings_updated']))
195
  {
196
+ echo "<div class='updated'><p>". __('Settings saved', 'wp-hide-security-enhancer') ."</p></div>";
197
 
198
  $active_plugins = (array) get_option( 'active_plugins', array() );
199
 
200
  //cache plugin nottice
201
  if(array_search('w3-total-cache/w3-total-cache.php', $active_plugins) !== FALSE)
202
  {
203
+ echo "<div class='error'><p>". __('W3 Total Cache Plugin is active, make sure you clear the cache for new changes to apply', 'wp-hide-security-enhancer') ."</p></div>";
204
  }
205
  if(array_search('wp-super-cache/wp-cache.php', $active_plugins) !== FALSE)
206
  {
207
+ echo "<div class='error'><p>". __('WP Super Cache Plugin is active, make sure you clear the cache for new changes to apply', 'wp-hide-security-enhancer') ."</p></div>";
208
  }
209
  }
210
 
languages/{wp-hide.mo → wp-hide-security-enhancer.mo} RENAMED
File without changes
languages/{wp-hide.po → wp-hide-security-enhancer.po} RENAMED
File without changes
modules/module-admin.php CHANGED
@@ -51,7 +51,7 @@
51
  $module_settings[] = array(
52
  'id' => 'new_wp_login_php',
53
  'label' => 'New wp-login.php',
54
- 'description' => __('Map a new wp-login.php instead default.', 'wp-hide'),
55
 
56
  'input_type' => 'text',
57
 
@@ -62,12 +62,12 @@
62
  $module_settings[] = array(
63
  'id' => 'block_default_wp_login_php',
64
  'label' => 'Block default wp-login.php',
65
- 'description' => __('Block default wp-login.php file from being accesible.', 'wp-hide'),
66
 
67
  'input_type' => 'radio',
68
  'options' => array(
69
- 'yes' => __('Yes', 'wp-hide'),
70
- 'no' => __('No', 'wp-hide'),
71
  ),
72
  'default_value' => 'no',
73
 
@@ -82,7 +82,7 @@
82
  $module_settings[] = array(
83
  'id' => 'admin_url',
84
  'label' => 'New Admin Url',
85
- 'description' => __('Create a new admin url instead default /wp-admin and /login.', 'wp-hide'),
86
 
87
  'input_type' => 'text',
88
 
@@ -93,12 +93,12 @@
93
  $module_settings[] = array(
94
  'id' => 'block_default_admin_url',
95
  'label' => 'Block default Admin Url',
96
- 'description' => __('Block default admin url and files from being accesible.', 'wp-hide') . '<br /><span class="important">' . __('Warning: Write down your new admin url, or if lost, will not be able to log-in .', 'wp-hide') . '</span>',
97
 
98
  'input_type' => 'radio',
99
  'options' => array(
100
- 'yes' => __('Yes', 'wp-hide'),
101
- 'no' => __('No', 'wp-hide'),
102
  ),
103
  'default_value' => 'no',
104
 
51
  $module_settings[] = array(
52
  'id' => 'new_wp_login_php',
53
  'label' => 'New wp-login.php',
54
+ 'description' => __('Map a new wp-login.php instead default.', 'wp-hide-security-enhancer'),
55
 
56
  'input_type' => 'text',
57
 
62
  $module_settings[] = array(
63
  'id' => 'block_default_wp_login_php',
64
  'label' => 'Block default wp-login.php',
65
+ 'description' => __('Block default wp-login.php file from being accesible.', 'wp-hide-security-enhancer'),
66
 
67
  'input_type' => 'radio',
68
  'options' => array(
69
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
70
+ 'no' => __('No', 'wp-hide-security-enhancer'),
71
  ),
72
  'default_value' => 'no',
73
 
82
  $module_settings[] = array(
83
  'id' => 'admin_url',
84
  'label' => 'New Admin Url',
85
+ 'description' => __('Create a new admin url instead default /wp-admin and /login.', 'wp-hide-security-enhancer'),
86
 
87
  'input_type' => 'text',
88
 
93
  $module_settings[] = array(
94
  'id' => 'block_default_admin_url',
95
  'label' => 'Block default Admin Url',
96
+ 'description' => __('Block default admin url and files from being accesible.', 'wp-hide-security-enhancer') . '<br /><span class="important">' . __('Warning: Write down your new admin url, or if lost, will not be able to log-in .', 'wp-hide-security-enhancer') . '</span>',
97
 
98
  'input_type' => 'radio',
99
  'options' => array(
100
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
101
+ 'no' => __('No', 'wp-hide-security-enhancer'),
102
  ),
103
  'default_value' => 'no',
104
 
modules/module-general.php CHANGED
@@ -51,12 +51,12 @@
51
  $module_settings[] = array(
52
  'id' => 'remove_version',
53
  'label' => 'Remove Version',
54
- 'description' => __('Remove version number from enqueued style and script files.', 'wp-hide'),
55
 
56
  'input_type' => 'radio',
57
  'options' => array(
58
- 'yes' => __('Yes', 'wp-hide'),
59
- 'no' => __('No', 'wp-hide'),
60
  ),
61
  'default_value' => 'no',
62
 
@@ -71,12 +71,12 @@
71
  $module_settings[] = array(
72
  'id' => 'remove_generator_meta',
73
  'label' => 'Remove Generator Meta',
74
- 'description' => __('Remove the autogenerated meta generator tag within head.', 'wp-hide'),
75
 
76
  'input_type' => 'radio',
77
  'options' => array(
78
- 'yes' => __('Yes', 'wp-hide'),
79
- 'no' => __('No', 'wp-hide'),
80
  ),
81
  'default_value' => 'no',
82
 
@@ -87,12 +87,12 @@
87
  $module_settings[] = array(
88
  'id' => 'remove_wlwmanifest',
89
  'label' => 'Remove wlwmanifest Meta',
90
- 'description' => __('Remove the wlwmanifest tag within head.', 'wp-hide'),
91
 
92
  'input_type' => 'radio',
93
  'options' => array(
94
- 'yes' => __('Yes', 'wp-hide'),
95
- 'no' => __('No', 'wp-hide'),
96
  ),
97
  'default_value' => 'no',
98
 
@@ -104,12 +104,12 @@
104
  $module_settings[] = array(
105
  'id' => 'remove_feed_links',
106
  'label' => 'Remove feed_links Meta',
107
- 'description' => __('Remove the feed_links tag within head.', 'wp-hide'),
108
 
109
  'input_type' => 'radio',
110
  'options' => array(
111
- 'yes' => __('Yes', 'wp-hide'),
112
- 'no' => __('No', 'wp-hide'),
113
  ),
114
  'default_value' => 'no',
115
 
@@ -120,12 +120,12 @@
120
  $module_settings[] = array(
121
  'id' => 'remove_rsd_link',
122
  'label' => 'Remove rsd_link Meta',
123
- 'description' => __('Remove the rsd_link tag within head.', 'wp-hide'),
124
 
125
  'input_type' => 'radio',
126
  'options' => array(
127
- 'yes' => __('Yes', 'wp-hide'),
128
- 'no' => __('No', 'wp-hide'),
129
  ),
130
  'default_value' => 'no',
131
 
@@ -138,12 +138,12 @@
138
  $module_settings[] = array(
139
  'id' => 'remove_adjacent_posts_rel',
140
  'label' => 'Remove adjacent_posts_rel Meta',
141
- 'description' => __('Remove the adjacent_posts_rel tag within head.', 'wp-hide'),
142
 
143
  'input_type' => 'radio',
144
  'options' => array(
145
- 'yes' => __('Yes', 'wp-hide'),
146
- 'no' => __('No', 'wp-hide'),
147
  ),
148
  'default_value' => 'no',
149
 
51
  $module_settings[] = array(
52
  'id' => 'remove_version',
53
  'label' => 'Remove Version',
54
+ 'description' => __('Remove version number from enqueued style and script files.', 'wp-hide-security-enhancer'),
55
 
56
  'input_type' => 'radio',
57
  'options' => array(
58
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
59
+ 'no' => __('No', 'wp-hide-security-enhancer'),
60
  ),
61
  'default_value' => 'no',
62
 
71
  $module_settings[] = array(
72
  'id' => 'remove_generator_meta',
73
  'label' => 'Remove Generator Meta',
74
+ 'description' => __('Remove the autogenerated meta generator tag within head.', 'wp-hide-security-enhancer'),
75
 
76
  'input_type' => 'radio',
77
  'options' => array(
78
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
79
+ 'no' => __('No', 'wp-hide-security-enhancer'),
80
  ),
81
  'default_value' => 'no',
82
 
87
  $module_settings[] = array(
88
  'id' => 'remove_wlwmanifest',
89
  'label' => 'Remove wlwmanifest Meta',
90
+ 'description' => __('Remove the wlwmanifest tag within head.', 'wp-hide-security-enhancer'),
91
 
92
  'input_type' => 'radio',
93
  'options' => array(
94
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
95
+ 'no' => __('No', 'wp-hide-security-enhancer'),
96
  ),
97
  'default_value' => 'no',
98
 
104
  $module_settings[] = array(
105
  'id' => 'remove_feed_links',
106
  'label' => 'Remove feed_links Meta',
107
+ 'description' => __('Remove the feed_links tag within head.', 'wp-hide-security-enhancer'),
108
 
109
  'input_type' => 'radio',
110
  'options' => array(
111
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
112
+ 'no' => __('No', 'wp-hide-security-enhancer'),
113
  ),
114
  'default_value' => 'no',
115
 
120
  $module_settings[] = array(
121
  'id' => 'remove_rsd_link',
122
  'label' => 'Remove rsd_link Meta',
123
+ 'description' => __('Remove the rsd_link tag within head.', 'wp-hide-security-enhancer'),
124
 
125
  'input_type' => 'radio',
126
  'options' => array(
127
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
128
+ 'no' => __('No', 'wp-hide-security-enhancer'),
129
  ),
130
  'default_value' => 'no',
131
 
138
  $module_settings[] = array(
139
  'id' => 'remove_adjacent_posts_rel',
140
  'label' => 'Remove adjacent_posts_rel Meta',
141
+ 'description' => __('Remove the adjacent_posts_rel tag within head.', 'wp-hide-security-enhancer'),
142
 
143
  'input_type' => 'radio',
144
  'options' => array(
145
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
146
+ 'no' => __('No', 'wp-hide-security-enhancer'),
147
  ),
148
  'default_value' => 'no',
149
 
modules/module-rewrite.php CHANGED
@@ -18,7 +18,7 @@
18
  {
19
  $interface_data = array();
20
 
21
- $interface_data['menu_title'] = 'Rewrite';
22
  $interface_data['menu_slug'] = self::get_module_slug();
23
  $interface_data['menu_position'] = 1;
24
 
@@ -29,9 +29,9 @@
29
  {
30
  $interface_data = array();
31
 
32
- $interface_data['title'] = 'WP Hide & Security Enhancer - Rewrite';
33
  $interface_data['description'] = '';
34
- $interface_data['handle_title'] = '<span class="icon settings">&nbsp;</span><span>Rewrite Settings</span>';
35
 
36
  return $interface_data;
37
  }
@@ -43,11 +43,11 @@
43
 
44
  $module_settings[] = array(
45
  'id' => 'new_theme_path',
46
- 'label' => 'New Theme Path',
47
- 'description' => 'The default theme path is set to <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['template_url']) .'</strong>
48
- More details can be found at <a href="#">Link</a>',
49
 
50
- 'value_description' => 'e.g. my_template',
51
  'input_type' => 'text',
52
 
53
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
@@ -57,11 +57,11 @@
57
  {
58
  $module_settings[] = array(
59
  'id' => 'new_theme_child_path',
60
- 'label' => 'New Theme Child Path',
61
- 'description' => 'The default theme path is set to <strong>'. str_replace(get_bloginfo('wpurl'), '' , trailingslashit($this->wph->templates_data['themes_url']) . $this->wph->templates_data['child']['folder_name']) .'</strong>
62
- More details can be found at <a href="#">Link</a>',
63
 
64
- 'value_description' => 'e.g. my_child_template',
65
  'input_type' => 'text',
66
 
67
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
@@ -70,10 +70,10 @@
70
 
71
  $module_settings[] = array(
72
  'id' => 'new_style_file_path',
73
- 'label' => 'New Style File Path',
74
- 'description' => 'The default theme style file style.css path is set to <strong>'. str_replace(get_bloginfo('wpurl'), '' , $this->wph->default_variables['template_url']) .'/style.css</strong>',
75
 
76
- 'value_description' => 'e.g. custom-style-file.css',
77
  'input_type' => 'text',
78
 
79
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
@@ -104,8 +104,8 @@
104
 
105
  'input_type' => 'radio',
106
  'options' => array(
107
- 'yes' => __('Yes', 'wp-hide'),
108
- 'no' => __('No', 'wp-hide'),
109
  ),
110
  'default_value' => 'no',
111
 
@@ -118,11 +118,11 @@
118
 
119
  $module_settings[] = array(
120
  'id' => 'new_include_path',
121
- 'label' => 'New Include Path',
122
- 'description' => 'The default theme path is set to <strong>wp-include</strong>
123
- More details can be found at <a href="#">Link</a>',
124
 
125
- 'value_description' => 'e.g. my_include',
126
  'input_type' => 'text',
127
 
128
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
@@ -135,9 +135,9 @@
135
 
136
  $module_settings[] = array(
137
  'id' => 'new_plugin_path',
138
- 'label' => 'New Plugin Path',
139
- 'description' => 'The default theme path is set to <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['plugins_url']) .'</strong>
140
- More details can be found at <a href="#">Link</a>',
141
 
142
  'value_description' => 'e.g. my_plugin',
143
  'input_type' => 'text',
@@ -147,13 +147,13 @@
147
 
148
  $module_settings[] = array(
149
  'id' => 'block_plugins_url',
150
- 'label' => 'Block plugins URL',
151
- 'description' => 'Block plugins files from being accesible through default urls.<br />Apply only if <b>New Plugin Path</b> is not empty.',
152
 
153
  'input_type' => 'radio',
154
  'options' => array(
155
- 'yes' => __('Yes', 'wp-hide'),
156
- 'no' => __('No', 'wp-hide'),
157
  ),
158
  'default_value' => 'no',
159
 
@@ -168,11 +168,11 @@
168
 
169
  $module_settings[] = array(
170
  'id' => 'new_upload_path',
171
- 'label' => 'New Upload Path',
172
- 'description' => 'The default upload path is set to <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['upload_url']) .'</strong>
173
- More details can be found at <a href="#">Link</a>',
174
 
175
- 'value_description' => 'e.g. my_uploads',
176
  'input_type' => 'text',
177
 
178
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
@@ -180,13 +180,13 @@
180
 
181
  $module_settings[] = array(
182
  'id' => 'block_upload_url',
183
- 'label' => 'Block upload URL',
184
- 'description' => 'Block upload files from being accesible through default urls. <br />If set to Yes, all new images inserted into posts will use the new Upload Url, as old url become blocked. Using the No, new images inesrted will use old url, which however are being updated on front side. This may be helpfull on plugin disable, so image urls can be accessible as before.<br />Apply only if <b>New Upload Path</b> is not empty.',
185
 
186
  'input_type' => 'radio',
187
  'options' => array(
188
- 'yes' => __('Yes', 'wp-hide'),
189
- 'no' => __('No', 'wp-hide'),
190
  ),
191
  'default_value' => 'no',
192
 
18
  {
19
  $interface_data = array();
20
 
21
+ $interface_data['menu_title'] = __('Rewrite', 'wp-hide-security-enhancer');
22
  $interface_data['menu_slug'] = self::get_module_slug();
23
  $interface_data['menu_position'] = 1;
24
 
29
  {
30
  $interface_data = array();
31
 
32
+ $interface_data['title'] = __('WP Hide & Security Enhancer', 'wp-hide-security-enhancer') . ' - ' . __('Rewrite', 'wp-hide-security-enhancer');
33
  $interface_data['description'] = '';
34
+ $interface_data['handle_title'] = '<span class="icon settings">&nbsp;</span><span>'. __('Rewrite Settings', 'wp-hide-security-enhancer') .'</span>';
35
 
36
  return $interface_data;
37
  }
43
 
44
  $module_settings[] = array(
45
  'id' => 'new_theme_path',
46
+ 'label' => __('New Theme Path', 'wp-hide-security-enhancer'),
47
+ 'description' => __('The default theme path is set to', 'wp-hide-security-enhancer') . ' <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['template_url']) .'</strong>
48
+ '. __('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
49
 
50
+ 'value_description' => __('e.g. my_template', 'wp-hide-security-enhancer'),
51
  'input_type' => 'text',
52
 
53
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
57
  {
58
  $module_settings[] = array(
59
  'id' => 'new_theme_child_path',
60
+ 'label' => __('New Theme Child Path', 'wp-hide-security-enhancer'),
61
+ 'description' => __('The default theme path is set to', 'wp-hide-security-enhancer') . ' <strong>'. str_replace(get_bloginfo('wpurl'), '' , trailingslashit($this->wph->templates_data['themes_url']) . $this->wph->templates_data['child']['folder_name']) .'</strong>
62
+ '.__('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
63
 
64
+ 'value_description' => __('e.g. my_child_template', 'wp-hide-security-enhancer'),
65
  'input_type' => 'text',
66
 
67
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
70
 
71
  $module_settings[] = array(
72
  'id' => 'new_style_file_path',
73
+ 'label' => __('New Style File Path', 'wp-hide-security-enhancer'),
74
+ 'description' => __('The default theme style file style.css path is set to', 'wp-hide-security-enhancer') . ' <strong>'. str_replace(get_bloginfo('wpurl'), '' , $this->wph->default_variables['template_url']) .'/style.css</strong>',
75
 
76
+ 'value_description' => __('e.g. custom-style-file.css', 'wp-hide-security-enhancer'),
77
  'input_type' => 'text',
78
 
79
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
104
 
105
  'input_type' => 'radio',
106
  'options' => array(
107
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
108
+ 'no' => __('No', 'wp-hide-security-enhancer'),
109
  ),
110
  'default_value' => 'no',
111
 
118
 
119
  $module_settings[] = array(
120
  'id' => 'new_include_path',
121
+ 'label' => __('New Include Path', 'wp-hide-security-enhancer'),
122
+ 'description' => __('The default theme path is set to', 'wp-hide-security-enhancer') . ' <strong>wp-include</strong>
123
+ '. __('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
124
 
125
+ 'value_description' => __('e.g. my_include', 'wp-hide-security-enhancer'),
126
  'input_type' => 'text',
127
 
128
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
135
 
136
  $module_settings[] = array(
137
  'id' => 'new_plugin_path',
138
+ 'label' => __('New Plugin Path', 'wp-hide-security-enhancer'),
139
+ 'description' => __('The default theme path is set to', 'wp-hide-security-enhancer') . ' <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['plugins_url']) .'</strong>
140
+ '. __('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
141
 
142
  'value_description' => 'e.g. my_plugin',
143
  'input_type' => 'text',
147
 
148
  $module_settings[] = array(
149
  'id' => 'block_plugins_url',
150
+ 'label' => __('Block plugins URL', 'wp-hide-security-enhancer'),
151
+ 'description' => __('Block plugins files from being accesible through default urls.', 'wp-hide-security-enhancer') . '<br />'.__('Apply only if ', 'wp-hide-security-enhancer') . '<b>New Plugin Path</b> ' . __('is not empty.', 'wp-hide-security-enhancer'),
152
 
153
  'input_type' => 'radio',
154
  'options' => array(
155
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
156
+ 'no' => __('No', 'wp-hide-security-enhancer'),
157
  ),
158
  'default_value' => 'no',
159
 
168
 
169
  $module_settings[] = array(
170
  'id' => 'new_upload_path',
171
+ 'label' => __('New Upload Path', 'wp-hide-security-enhancer'),
172
+ 'description' => __('The default upload path is set to', 'wp-hide-security-enhancer') . ' <strong>'. str_replace(get_bloginfo('wpurl'), '' ,$this->wph->default_variables['upload_url']) .'</strong>
173
+ '. __('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
174
 
175
+ 'value_description' => __('e.g. my_uploads', 'wp-hide-security-enhancer'),
176
  'input_type' => 'text',
177
 
178
  'sanitize_type' => array(array($this->functions, 'sanitize_file_path_name'))
180
 
181
  $module_settings[] = array(
182
  'id' => 'block_upload_url',
183
+ 'label' => __('Block upload URL', 'wp-hide-security-enhancer'),
184
+ 'description' => __('Block upload files from being accesible through default urls.', 'wp-hide-security-enhancer') . ' <br />'.__('If set to Yes, all new images inserted into posts will use the new Upload Url, as old url become blocked. Using the No, new images inesrted will use old url, which however are being updated on front side. This may be helpfull on plugin disable, so image urls can be accessible as before.', 'wp-hide-security-enhancer').'<br />'. __('Apply only if', 'wp-hide-security-enhancer') .' <b>New Upload Path</b> '.__('is not empty.', 'wp-hide-security-enhancer'),
185
 
186
  'input_type' => 'radio',
187
  'options' => array(
188
+ 'yes' => __('Yes', 'wp-hide-security-enhancer'),
189
+ 'no' => __('No', 'wp-hide-security-enhancer'),
190
  ),
191
  'default_value' => 'no',
192
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.nsp-code.com/donate.php
4
  Tags: hide, security, improve security, hacking, wp hide, wordpress hide
5
  Requires at least: 2.8
6
  Tested up to: 4.4.1
7
- Stable tag: 1.0.3
8
 
9
  Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
10
 
@@ -71,6 +71,9 @@ Please get in touch with us and we'll do our best to include it for a later vers
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 1.0.3 =
75
  * Certain sections improvments and code redo
76
  * Admin module cleanup
4
  Tags: hide, security, improve security, hacking, wp hide, wordpress hide
5
  Requires at least: 2.8
6
  Tested up to: 4.4.1
7
+ Stable tag: 1.0.4
8
 
9
  Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.0.4 =
75
+ * Text Domain fix from wp-hide to wp-hide-security-enhancer
76
+
77
  = 1.0.3 =
78
  * Certain sections improvments and code redo
79
  * Admin module cleanup
wp-hide.php CHANGED
@@ -5,8 +5,8 @@ Plugin URI: http://www.nsp-code.com
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
- Version: 1.0.3
9
- Text Domain: wp-hide
10
  Domain Path: /languages/
11
  */
12
 
@@ -17,7 +17,7 @@ Domain Path: /languages/
17
  add_action( 'plugins_loaded', 'WPH_load_textdomain');
18
  function WPH_load_textdomain()
19
  {
20
- load_plugin_textdomain('wp-hide', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages');
21
  }
22
 
23
  include_once(WPH_PATH . '/include/wph.class.php');
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
+ Version: 1.0.4
9
+ Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */
12
 
17
  add_action( 'plugins_loaded', 'WPH_load_textdomain');
18
  function WPH_load_textdomain()
19
  {
20
+ load_plugin_textdomain('wp-hide-security-enhancer', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages');
21
  }
22
 
23
  include_once(WPH_PATH . '/include/wph.class.php');