Version Description
- New Content Path
- New Component : Root Files
- Block license.txt
- Block readme.html
- Block wp-activate.php
- Block wp-signup.php
- Block other wp-*.php files
- licence.txt and readme.html block
- PO translations update
Download this release
Release Info
Developer | nsp-code |
Plugin | WP Hide & Security Enhancer |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.2
- css/wph.css +1 -1
- languages/wp-hide-security-enhancer.mo +0 -0
- languages/wp-hide-security-enhancer.po +205 -103
- modules/components/admin-admin_url.php +4 -0
- modules/components/admin-new_wp_login_php.php +5 -31
- modules/components/rewrite-new_plugin_path.php +6 -0
- modules/components/rewrite-new_xml-rpc-path.php +1 -1
- modules/components/rewrite-root-files.php +186 -0
- modules/components/rewrite-wp_content_path.php +54 -2
- modules/module-admin.php +9 -3
- modules/module-general.php +3 -3
- modules/module-rewrite.php +3 -0
- readme.txt +80 -1
- wp-hide.php +1 -1
css/wph.css
CHANGED
@@ -34,7 +34,7 @@ table .select.multiple {height: 82px}
|
|
34 |
table.wph_input tbody tr td h4 {margin: 0px; padding-bottom: 6px}
|
35 |
table.wph_input tbody tr td h5 {font-size: 12px; font-weight: normal; margin: 0; padding-bottom: 6px; padding-top: 10px;}
|
36 |
table.wph_input tbody tr td.label label{ font-size: 13px; font-weight: bold; padding: 0; margin: 0; color: #333; cursor: default }
|
37 |
-
table.wph_input tbody tr td.label p, table.wph_input tbody tr td.label .description{ display: block; font-size: 12px; padding: 6px 0 !important; margin: 0 !important; font-style: normal; line-height: 16px; color: #
|
38 |
table.wph_input tbody tr td.label .description .important {color: #d54e21}
|
39 |
table.wph_input tbody tr td.label .description .dashicons, table.wph_input tbody tr td.label .description span {display: inline-block}
|
40 |
table.wph_input tbody tr td.label .description span {padding-left: 5px; line-height: 18px;}
|
34 |
table.wph_input tbody tr td h4 {margin: 0px; padding-bottom: 6px}
|
35 |
table.wph_input tbody tr td h5 {font-size: 12px; font-weight: normal; margin: 0; padding-bottom: 6px; padding-top: 10px;}
|
36 |
table.wph_input tbody tr td.label label{ font-size: 13px; font-weight: bold; padding: 0; margin: 0; color: #333; cursor: default }
|
37 |
+
table.wph_input tbody tr td.label p, table.wph_input tbody tr td.label .description{ display: block; font-size: 12px; padding: 6px 0 !important; margin: 0 !important; font-style: normal; line-height: 16px; color: #999;}
|
38 |
table.wph_input tbody tr td.label .description .important {color: #d54e21}
|
39 |
table.wph_input tbody tr td.label .description .dashicons, table.wph_input tbody tr td.label .description span {display: inline-block}
|
40 |
table.wph_input tbody tr td.label .description span {padding-left: 5px; line-height: 18px;}
|
languages/wp-hide-security-enhancer.mo
CHANGED
Binary file
|
languages/wp-hide-security-enhancer.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Post Types Order\n"
|
4 |
-
"POT-Creation-Date: 2016-
|
5 |
-
"PO-Revision-Date: 2016-
|
6 |
"Last-Translator: nsp-code <electronice_delphi@yahoo.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -20,73 +20,89 @@ msgid ""
|
|
20 |
"Login Url change. "
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: include/
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Help us to improve this plugin by reporting any issues at "
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: include/wph.class.php:
|
28 |
msgid ""
|
29 |
"Permalink is required to be turned ON for WP Hide & Security Enhancer to work"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: include/wph.class.php:
|
33 |
msgid "Settings saved"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: include/wph.class.php:
|
37 |
msgid ""
|
38 |
"W3 Total Cache Plugin is active, make sure you clear the cache for new "
|
39 |
"changes to apply"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: include/wph.class.php:
|
43 |
msgid ""
|
44 |
"WP Super Cache Plugin is active, make sure you clear the cache for new "
|
45 |
"changes to apply"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: modules/module-
|
49 |
-
msgid "
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: modules/module-
|
53 |
-
msgid "WP Hide & Security Enhancer"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: modules/module-
|
57 |
-
msgid "
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: modules/
|
61 |
-
msgid "
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: modules/
|
65 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: modules/components/admin-admin_url.php:
|
69 |
msgid "Write down your new admin url, or if lost, will not be able to log-in."
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: modules/components/admin-admin_url.php:
|
73 |
msgid "An e-mail will be sent to"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: modules/components/admin-admin_url.php:
|
77 |
msgid "with the new Login URL"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: modules/components/admin-admin_url.php:
|
81 |
-
#: modules/components/admin-new_wp_login_php.php:
|
82 |
msgid ""
|
83 |
"If unable to access the login / admin section anymore, use the Recovery Link "
|
84 |
"which reset links to default: "
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: modules/components/admin-admin_url.php:
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
90 |
#: modules/components/general-meta.php:15
|
91 |
#: modules/components/general-meta.php:31
|
92 |
#: modules/components/general-meta.php:48
|
@@ -97,18 +113,22 @@ msgstr ""
|
|
97 |
#: modules/components/general-remove_version.php:15
|
98 |
#: modules/components/general-wpemoji.php:15
|
99 |
#: modules/components/general-wpemoji.php:31
|
100 |
-
#: modules/components/rewrite-new_include_path.php:
|
101 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
102 |
-
#: modules/components/rewrite-new_upload_path.php:
|
103 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
104 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
105 |
-
#: modules/components/rewrite-
|
|
|
|
|
|
|
|
|
|
|
106 |
msgid "Yes"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: modules/components/admin-admin_url.php:
|
110 |
-
#: modules/components/admin-new_wp_login_php.php:
|
111 |
-
#: modules/components/admin-new_wp_login_php.php:48
|
112 |
#: modules/components/general-meta.php:16
|
113 |
#: modules/components/general-meta.php:32
|
114 |
#: modules/components/general-meta.php:49
|
@@ -119,60 +139,59 @@ msgstr ""
|
|
119 |
#: modules/components/general-remove_version.php:16
|
120 |
#: modules/components/general-wpemoji.php:16
|
121 |
#: modules/components/general-wpemoji.php:32
|
122 |
-
#: modules/components/rewrite-new_include_path.php:
|
123 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
124 |
-
#: modules/components/rewrite-new_upload_path.php:
|
125 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
126 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
127 |
-
#: modules/components/rewrite-
|
|
|
|
|
|
|
|
|
|
|
128 |
msgid "No"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: modules/components/admin-admin_url.php:
|
132 |
msgid "Hello"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: modules/components/admin-admin_url.php:
|
136 |
msgid ""
|
137 |
"This is an automated message to inform that your login url has been changed "
|
138 |
"at"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: modules/components/admin-admin_url.php:
|
142 |
msgid "The new login url is"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: modules/components/admin-admin_url.php:
|
146 |
msgid "Additionality you can use this to recover the old login / admin links "
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: modules/components/admin-admin_url.php:
|
150 |
msgid "Please keep this url safe for recover, if forgot"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: modules/components/admin-new_wp_login_php.php:
|
154 |
msgid ""
|
155 |
"Map a new wp-login.php instead default. This also need to include <i>.php</"
|
156 |
"i> extension."
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: modules/components/admin-new_wp_login_php.php:
|
160 |
msgid ""
|
161 |
"Make sure your log-in url is not already modified by another plugin or "
|
162 |
"theme. In such case, you should disable other code and take advantage of "
|
163 |
"these features. More details at "
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: modules/components/admin-new_wp_login_php.php:
|
167 |
msgid "Block default wp-login.php file from being accesible."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: modules/components/admin-new_wp_login_php.php:43
|
171 |
-
msgid ""
|
172 |
-
"Block default wp-signup.php file from being accesible. This redirect to new "
|
173 |
-
"admin login if changed. The registration page remain available."
|
174 |
-
msgstr ""
|
175 |
-
|
176 |
#: modules/components/general-meta.php:11
|
177 |
msgid ""
|
178 |
"Remove the autogenerated meta generator tag within head (WordPress Version)."
|
@@ -214,100 +233,123 @@ msgstr ""
|
|
214 |
msgid "Disable the TinyMC Emoji icons library from being loaded into TinyMC."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: modules/components/rewrite-new_include_path.php:
|
218 |
-
msgid "New
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: modules/components/rewrite-new_include_path.php:
|
222 |
-
#: modules/components/rewrite-
|
223 |
-
#: modules/components/rewrite-new_theme_path.php:
|
224 |
-
#: modules/components/rewrite-new_theme_path.php:26
|
225 |
msgid "The default theme path is set to"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: modules/components/rewrite-new_include_path.php:
|
229 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
230 |
-
#: modules/components/rewrite-new_theme_path.php:
|
231 |
-
#: modules/components/rewrite-new_theme_path.php:
|
232 |
-
#: modules/components/rewrite-new_upload_path.php:
|
233 |
-
#: modules/components/rewrite-wp_content_path.php:
|
234 |
msgid "More details can be found at"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: modules/components/rewrite-new_include_path.php:
|
238 |
-
msgid "e.g.
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
242 |
-
msgid "New
|
|
|
|
|
|
|
|
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
246 |
msgid "Block plugins URL"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
250 |
msgid "Block plugins files from being accesible through default urls."
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
254 |
msgid "Apply only if "
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: modules/components/rewrite-new_plugin_path.php:
|
258 |
-
#: modules/components/rewrite-new_upload_path.php:
|
259 |
msgid "is not empty."
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: modules/components/rewrite-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
msgid "New Theme Path"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: modules/components/rewrite-new_theme_path.php:
|
267 |
msgid "e.g. my_template"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: modules/components/rewrite-new_theme_path.php:
|
271 |
msgid "New Theme Child Path"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: modules/components/rewrite-new_theme_path.php:
|
275 |
msgid "e.g. my_child_template"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: modules/components/rewrite-new_theme_path.php:
|
279 |
msgid "New Style File Path"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: modules/components/rewrite-new_theme_path.php:
|
283 |
msgid "The default theme style file style.css path is set to"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: modules/components/rewrite-new_theme_path.php:
|
287 |
msgid "e.g. custom-style-file.css"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: modules/components/rewrite-new_upload_path.php:
|
291 |
-
msgid "New
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: modules/components/rewrite-new_upload_path.php:
|
295 |
-
msgid "The default
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: modules/components/rewrite-new_upload_path.php:
|
299 |
msgid "e.g. my_uploads"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: modules/components/rewrite-new_upload_path.php:
|
303 |
-
msgid "Block
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: modules/components/rewrite-new_upload_path.php:
|
307 |
msgid "Block upload files from being accesible through default urls."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: modules/components/rewrite-new_upload_path.php:
|
311 |
msgid ""
|
312 |
"If set to Yes, all new images inserted into posts will use the new Upload "
|
313 |
"Url, as old url become blocked. Using the No, new images inesrted will use "
|
@@ -315,46 +357,106 @@ msgid ""
|
|
315 |
"on plugin disable, so image urls can be accessible as before."
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: modules/components/rewrite-new_upload_path.php:
|
319 |
msgid "Apply only if"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
323 |
msgid "New XML-RPC Path"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
327 |
msgid ""
|
328 |
"The default XML-RPC path is set to xmlrpc.php. If not used you can leave "
|
329 |
"empty and block the service using the following area."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
333 |
msgid "e.g. my-xml-rpc.php"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
337 |
msgid "Block default xmlrpc.php"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
341 |
msgid ""
|
342 |
"XML-RPC gives others the ability to talk to your WordPress site. If not used "
|
343 |
"you should disable. Keep in mind that some plugins like Jetpack use this API."
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
347 |
-
msgid "Remove pingback
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: modules/components/rewrite-new_xml-rpc-path.php:
|
351 |
msgid "Remove pingback link tag from theme."
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: modules/components/rewrite-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
msgid "Block wp-content URL"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: modules/components/rewrite-wp_content_path.php:
|
359 |
-
msgid "Your wp-content path is set to"
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Post Types Order\n"
|
4 |
+
"POT-Creation-Date: 2016-04-01 14:34+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-04-01 14:34+0200\n"
|
6 |
"Last-Translator: nsp-code <electronice_delphi@yahoo.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
20 |
"Login Url change. "
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: include/functions.class.php:1025
|
24 |
+
#, php-format
|
25 |
+
msgid "The %1$s plugin header is deprecated. Use %2$s instead."
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: include/wph.class.php:198
|
29 |
msgid "Help us to improve this plugin by reporting any issues at "
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: include/wph.class.php:203
|
33 |
msgid ""
|
34 |
"Permalink is required to be turned ON for WP Hide & Security Enhancer to work"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: include/wph.class.php:208
|
38 |
msgid "Settings saved"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: include/wph.class.php:215
|
42 |
msgid ""
|
43 |
"W3 Total Cache Plugin is active, make sure you clear the cache for new "
|
44 |
"changes to apply"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: include/wph.class.php:219
|
48 |
msgid ""
|
49 |
"WP Super Cache Plugin is active, make sure you clear the cache for new "
|
50 |
"changes to apply"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: modules/module-admin.php:44
|
54 |
+
msgid "Admin"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: modules/module-admin.php:56
|
58 |
+
msgid "WP Hide & Security Enhancer - Admin"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: modules/module-general.php:41
|
62 |
+
msgid "General / Html"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: modules/module-general.php:53
|
66 |
+
msgid "WP Hide & Security Enhancer - General / Html"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: modules/module-rewrite.php:61 modules/module-rewrite.php:72
|
70 |
+
msgid "Rewrite"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: modules/module-rewrite.php:72
|
74 |
+
msgid "WP Hide & Security Enhancer"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: modules/components/admin-admin_url.php:16
|
78 |
+
msgid "Create a new admin url instead default /wp-admin and /login."
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: modules/components/admin-admin_url.php:17
|
82 |
msgid "Write down your new admin url, or if lost, will not be able to log-in."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: modules/components/admin-admin_url.php:17
|
86 |
msgid "An e-mail will be sent to"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: modules/components/admin-admin_url.php:17
|
90 |
msgid "with the new Login URL"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: modules/components/admin-admin_url.php:18
|
94 |
+
#: modules/components/admin-new_wp_login_php.php:18
|
95 |
msgid ""
|
96 |
"If unable to access the login / admin section anymore, use the Recovery Link "
|
97 |
"which reset links to default: "
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: modules/components/admin-admin_url.php:31
|
101 |
+
msgid "Block default admin url and files from being accesible."
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: modules/components/admin-admin_url.php:35
|
105 |
+
#: modules/components/admin-new_wp_login_php.php:34
|
106 |
#: modules/components/general-meta.php:15
|
107 |
#: modules/components/general-meta.php:31
|
108 |
#: modules/components/general-meta.php:48
|
113 |
#: modules/components/general-remove_version.php:15
|
114 |
#: modules/components/general-wpemoji.php:15
|
115 |
#: modules/components/general-wpemoji.php:31
|
116 |
+
#: modules/components/rewrite-new_include_path.php:32
|
117 |
+
#: modules/components/rewrite-new_plugin_path.php:33
|
118 |
+
#: modules/components/rewrite-new_upload_path.php:33
|
119 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:32
|
120 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:49
|
121 |
+
#: modules/components/rewrite-root-files.php:20
|
122 |
+
#: modules/components/rewrite-root-files.php:36
|
123 |
+
#: modules/components/rewrite-root-files.php:52
|
124 |
+
#: modules/components/rewrite-root-files.php:68
|
125 |
+
#: modules/components/rewrite-root-files.php:85
|
126 |
+
#: modules/components/rewrite-wp_content_path.php:34
|
127 |
msgid "Yes"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: modules/components/admin-admin_url.php:36
|
131 |
+
#: modules/components/admin-new_wp_login_php.php:35
|
|
|
132 |
#: modules/components/general-meta.php:16
|
133 |
#: modules/components/general-meta.php:32
|
134 |
#: modules/components/general-meta.php:49
|
139 |
#: modules/components/general-remove_version.php:16
|
140 |
#: modules/components/general-wpemoji.php:16
|
141 |
#: modules/components/general-wpemoji.php:32
|
142 |
+
#: modules/components/rewrite-new_include_path.php:33
|
143 |
+
#: modules/components/rewrite-new_plugin_path.php:34
|
144 |
+
#: modules/components/rewrite-new_upload_path.php:34
|
145 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:33
|
146 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:50
|
147 |
+
#: modules/components/rewrite-root-files.php:21
|
148 |
+
#: modules/components/rewrite-root-files.php:37
|
149 |
+
#: modules/components/rewrite-root-files.php:53
|
150 |
+
#: modules/components/rewrite-root-files.php:69
|
151 |
+
#: modules/components/rewrite-root-files.php:86
|
152 |
+
#: modules/components/rewrite-wp_content_path.php:35
|
153 |
msgid "No"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: modules/components/admin-admin_url.php:187
|
157 |
msgid "Hello"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: modules/components/admin-admin_url.php:188
|
161 |
msgid ""
|
162 |
"This is an automated message to inform that your login url has been changed "
|
163 |
"at"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: modules/components/admin-admin_url.php:189
|
167 |
msgid "The new login url is"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: modules/components/admin-admin_url.php:190
|
171 |
msgid "Additionality you can use this to recover the old login / admin links "
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: modules/components/admin-admin_url.php:191
|
175 |
msgid "Please keep this url safe for recover, if forgot"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: modules/components/admin-new_wp_login_php.php:16
|
179 |
msgid ""
|
180 |
"Map a new wp-login.php instead default. This also need to include <i>.php</"
|
181 |
"i> extension."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: modules/components/admin-new_wp_login_php.php:17
|
185 |
msgid ""
|
186 |
"Make sure your log-in url is not already modified by another plugin or "
|
187 |
"theme. In such case, you should disable other code and take advantage of "
|
188 |
"these features. More details at "
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: modules/components/admin-new_wp_login_php.php:30
|
192 |
msgid "Block default wp-login.php file from being accesible."
|
193 |
msgstr ""
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
#: modules/components/general-meta.php:11
|
196 |
msgid ""
|
197 |
"Remove the autogenerated meta generator tag within head (WordPress Version)."
|
233 |
msgid "Disable the TinyMC Emoji icons library from being loaded into TinyMC."
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: modules/components/rewrite-new_include_path.php:15
|
237 |
+
msgid "New Includes Path"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: modules/components/rewrite-new_include_path.php:16
|
241 |
+
#: modules/components/rewrite-new_theme_path.php:17
|
242 |
+
#: modules/components/rewrite-new_theme_path.php:32
|
|
|
243 |
msgid "The default theme path is set to"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: modules/components/rewrite-new_include_path.php:17
|
247 |
+
#: modules/components/rewrite-new_plugin_path.php:17
|
248 |
+
#: modules/components/rewrite-new_theme_path.php:18
|
249 |
+
#: modules/components/rewrite-new_theme_path.php:33
|
250 |
+
#: modules/components/rewrite-new_upload_path.php:17
|
251 |
+
#: modules/components/rewrite-wp_content_path.php:16
|
252 |
msgid "More details can be found at"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: modules/components/rewrite-new_include_path.php:19
|
256 |
+
msgid "e.g. my_includes"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: modules/components/rewrite-new_plugin_path.php:15
|
260 |
+
msgid "New Plugins Path"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: modules/components/rewrite-new_plugin_path.php:16
|
264 |
+
msgid "The default plugins path is set to"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: modules/components/rewrite-new_plugin_path.php:28
|
268 |
msgid "Block plugins URL"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: modules/components/rewrite-new_plugin_path.php:29
|
272 |
msgid "Block plugins files from being accesible through default urls."
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: modules/components/rewrite-new_plugin_path.php:29
|
276 |
msgid "Apply only if "
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: modules/components/rewrite-new_plugin_path.php:29
|
280 |
+
#: modules/components/rewrite-new_upload_path.php:29
|
281 |
msgid "is not empty."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: modules/components/rewrite-new_plugin_path.php:65
|
285 |
+
msgid "New Path for"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: modules/components/rewrite-new_plugin_path.php:65
|
289 |
+
msgid "plugin"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: modules/components/rewrite-new_plugin_path.php:66
|
293 |
+
msgid "This setting overwrite the"
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: modules/components/rewrite-new_plugin_path.php:66
|
297 |
+
msgid "New Plugin Path"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: modules/components/rewrite-new_plugin_path.php:66
|
301 |
+
msgid "setting for this plugin, if set."
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: modules/components/rewrite-new_theme_path.php:16
|
305 |
msgid "New Theme Path"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: modules/components/rewrite-new_theme_path.php:20
|
309 |
msgid "e.g. my_template"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: modules/components/rewrite-new_theme_path.php:31
|
313 |
msgid "New Theme Child Path"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: modules/components/rewrite-new_theme_path.php:35
|
317 |
msgid "e.g. my_child_template"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: modules/components/rewrite-new_theme_path.php:45
|
321 |
msgid "New Style File Path"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: modules/components/rewrite-new_theme_path.php:46
|
325 |
msgid "The default theme style file style.css path is set to"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: modules/components/rewrite-new_theme_path.php:48
|
329 |
msgid "e.g. custom-style-file.css"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: modules/components/rewrite-new_upload_path.php:15
|
333 |
+
msgid "New Uploads Path"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: modules/components/rewrite-new_upload_path.php:16
|
337 |
+
msgid "The default uploads path is set to"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: modules/components/rewrite-new_upload_path.php:19
|
341 |
msgid "e.g. my_uploads"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: modules/components/rewrite-new_upload_path.php:28
|
345 |
+
msgid "Block uploads URL"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: modules/components/rewrite-new_upload_path.php:29
|
349 |
msgid "Block upload files from being accesible through default urls."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: modules/components/rewrite-new_upload_path.php:29
|
353 |
msgid ""
|
354 |
"If set to Yes, all new images inserted into posts will use the new Upload "
|
355 |
"Url, as old url become blocked. Using the No, new images inesrted will use "
|
357 |
"on plugin disable, so image urls can be accessible as before."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: modules/components/rewrite-new_upload_path.php:29
|
361 |
msgid "Apply only if"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:15
|
365 |
msgid "New XML-RPC Path"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:16
|
369 |
msgid ""
|
370 |
"The default XML-RPC path is set to xmlrpc.php. If not used you can leave "
|
371 |
"empty and block the service using the following area."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:18
|
375 |
msgid "e.g. my-xml-rpc.php"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:27
|
379 |
msgid "Block default xmlrpc.php"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:28
|
383 |
msgid ""
|
384 |
"XML-RPC gives others the ability to talk to your WordPress site. If not used "
|
385 |
"you should disable. Keep in mind that some plugins like Jetpack use this API."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:44
|
389 |
+
msgid "Remove pingback"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: modules/components/rewrite-new_xml-rpc-path.php:45
|
393 |
msgid "Remove pingback link tag from theme."
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: modules/components/rewrite-root-files.php:15
|
397 |
+
msgid "Block license.txt"
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: modules/components/rewrite-root-files.php:16
|
401 |
+
msgid "Block access to license.txt root file"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: modules/components/rewrite-root-files.php:31
|
405 |
+
msgid "Block readme.html"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: modules/components/rewrite-root-files.php:32
|
409 |
+
msgid "Block access to readme.html root file"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: modules/components/rewrite-root-files.php:47
|
413 |
+
msgid "Block wp-activate.php"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: modules/components/rewrite-root-files.php:48
|
417 |
+
msgid ""
|
418 |
+
"Block access to wp-activate.php file. This file confirms that the activation "
|
419 |
+
"key that is sent in an email after a user signs up for a new blog matches "
|
420 |
+
"the key for that user. If <b>anyone can register</b> on your site, you shold "
|
421 |
+
"keep this off."
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: modules/components/rewrite-root-files.php:64
|
425 |
+
msgid ""
|
426 |
+
"Block default wp-signup.php file. If <b>anyone can register</b> on your "
|
427 |
+
"site, you shold keep this off."
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: modules/components/rewrite-root-files.php:81
|
431 |
+
msgid ""
|
432 |
+
"Block other wp-*.php files. E.g. wp-blog-header.php, wp-config.php, wp-cron."
|
433 |
+
"php. Those files are used internally, blocking those will not affect any "
|
434 |
+
"functionality. Other root files (wp-activate.php, wp-login.php, wp-signup."
|
435 |
+
"php) are ignored, they can be controlled through own setting."
|
436 |
+
msgstr ""
|
437 |
+
|
438 |
+
#: modules/components/rewrite-wp_content_path.php:14
|
439 |
+
msgid "New Content Path"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: modules/components/rewrite-wp_content_path.php:15
|
443 |
+
msgid "Your default wp-content path is set to"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: modules/components/rewrite-wp_content_path.php:18
|
447 |
+
msgid "e.g. my_content"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: modules/components/rewrite-wp_content_path.php:28
|
451 |
msgid "Block wp-content URL"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: modules/components/rewrite-wp_content_path.php:29
|
455 |
+
msgid "Block default content path. Your default wp-content path is set to"
|
456 |
+
msgstr ""
|
457 |
+
|
458 |
+
#: modules/components/rewrite-wp_content_path.php:30
|
459 |
+
msgid ""
|
460 |
+
"Apply only if <b>New Content Path</b> is not empty. It block only for non "
|
461 |
+
"loged-in users."
|
462 |
msgstr ""
|
modules/components/admin-admin_url.php
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
|
3 |
class WPH_module_admin_admin_url extends WPH_module_component
|
4 |
{
|
|
|
|
|
|
|
|
|
5 |
|
6 |
function get_module_settings()
|
7 |
{
|
2 |
|
3 |
class WPH_module_admin_admin_url extends WPH_module_component
|
4 |
{
|
5 |
+
function get_component_title()
|
6 |
+
{
|
7 |
+
return "Admin URL";
|
8 |
+
}
|
9 |
|
10 |
function get_module_settings()
|
11 |
{
|
modules/components/admin-new_wp_login_php.php
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
|
3 |
class WPH_module_admin_new_wp_login_php extends WPH_module_component
|
4 |
{
|
|
|
|
|
|
|
|
|
5 |
|
6 |
function get_module_settings()
|
7 |
{
|
@@ -37,22 +41,6 @@
|
|
37 |
|
38 |
);
|
39 |
|
40 |
-
$this->module_settings[] = array(
|
41 |
-
'id' => 'block_default_wp_signup_php',
|
42 |
-
'label' => 'Block default wp-signup.php',
|
43 |
-
'description' => __('Block default wp-signup.php file from being accesible. This redirect to new admin login if changed. The registration page remain available.', 'wp-hide-security-enhancer'),
|
44 |
-
|
45 |
-
'input_type' => 'radio',
|
46 |
-
'options' => array(
|
47 |
-
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
48 |
-
'no' => __('No', 'wp-hide-security-enhancer'),
|
49 |
-
),
|
50 |
-
'default_value' => 'no',
|
51 |
-
|
52 |
-
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
53 |
-
'processing_order' => 55
|
54 |
-
|
55 |
-
);
|
56 |
|
57 |
return $this->module_settings;
|
58 |
}
|
@@ -144,21 +132,7 @@
|
|
144 |
}
|
145 |
|
146 |
|
147 |
-
|
148 |
-
{
|
149 |
-
$processing_response = array();
|
150 |
-
|
151 |
-
if(empty($saved_field_data) || $saved_field_data == 'no')
|
152 |
-
return $processing_response;
|
153 |
-
|
154 |
-
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
155 |
-
$text .= "RewriteRule ^wp-signup.php ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
156 |
-
|
157 |
-
$processing_response['htaccess'] = $text;
|
158 |
-
|
159 |
-
return $processing_response;
|
160 |
-
}
|
161 |
-
|
162 |
|
163 |
}
|
164 |
?>
|
2 |
|
3 |
class WPH_module_admin_new_wp_login_php extends WPH_module_component
|
4 |
{
|
5 |
+
function get_component_title()
|
6 |
+
{
|
7 |
+
return "wp-login.php";
|
8 |
+
}
|
9 |
|
10 |
function get_module_settings()
|
11 |
{
|
41 |
|
42 |
);
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
return $this->module_settings;
|
46 |
}
|
132 |
}
|
133 |
|
134 |
|
135 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
|
137 |
}
|
138 |
?>
|
modules/components/rewrite-new_plugin_path.php
CHANGED
@@ -40,6 +40,12 @@
|
|
40 |
|
41 |
);
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
$all_plugins = $this->wph->functions->get_plugins();
|
44 |
|
45 |
//get active plugins
|
40 |
|
41 |
);
|
42 |
|
43 |
+
|
44 |
+
$this->module_settings[] = array(
|
45 |
+
'type' => 'split'
|
46 |
+
|
47 |
+
);
|
48 |
+
|
49 |
$all_plugins = $this->wph->functions->get_plugins();
|
50 |
|
51 |
//get active plugins
|
modules/components/rewrite-new_xml-rpc-path.php
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
|
42 |
$this->module_settings[] = array(
|
43 |
'id' => 'remove_xml_rpc_tag',
|
44 |
-
'label' => __('Remove pingback
|
45 |
'description' => __('Remove pingback link tag from theme.', 'wp-hide-security-enhancer'),
|
46 |
|
47 |
'input_type' => 'radio',
|
41 |
|
42 |
$this->module_settings[] = array(
|
43 |
'id' => 'remove_xml_rpc_tag',
|
44 |
+
'label' => __('Remove pingback', 'wp-hide-security-enhancer'),
|
45 |
'description' => __('Remove pingback link tag from theme.', 'wp-hide-security-enhancer'),
|
46 |
|
47 |
'input_type' => 'radio',
|
modules/components/rewrite-root-files.php
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WPH_module_rewrite_root_files extends WPH_module_component
|
4 |
+
{
|
5 |
+
|
6 |
+
function get_component_title()
|
7 |
+
{
|
8 |
+
return "Root Files";
|
9 |
+
}
|
10 |
+
|
11 |
+
function get_module_settings()
|
12 |
+
{
|
13 |
+
$this->module_settings[] = array(
|
14 |
+
'id' => 'block_license_txt',
|
15 |
+
'label' => __('Block license.txt', 'wp-hide-security-enhancer'),
|
16 |
+
'description' => __('Block access to license.txt root file', 'wp-hide-security-enhancer'),
|
17 |
+
|
18 |
+
'input_type' => 'radio',
|
19 |
+
'options' => array(
|
20 |
+
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
21 |
+
'no' => __('No', 'wp-hide-security-enhancer'),
|
22 |
+
),
|
23 |
+
'default_value' => 'no',
|
24 |
+
|
25 |
+
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
26 |
+
'processing_order' => 60
|
27 |
+
);
|
28 |
+
|
29 |
+
$this->module_settings[] = array(
|
30 |
+
'id' => 'block_readme_html',
|
31 |
+
'label' => __('Block readme.html', 'wp-hide-security-enhancer'),
|
32 |
+
'description' => __('Block access to readme.html root file', 'wp-hide-security-enhancer'),
|
33 |
+
|
34 |
+
'input_type' => 'radio',
|
35 |
+
'options' => array(
|
36 |
+
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
37 |
+
'no' => __('No', 'wp-hide-security-enhancer'),
|
38 |
+
),
|
39 |
+
'default_value' => 'no',
|
40 |
+
|
41 |
+
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
42 |
+
'processing_order' => 60
|
43 |
+
);
|
44 |
+
|
45 |
+
$this->module_settings[] = array(
|
46 |
+
'id' => 'block_wp_activate_php',
|
47 |
+
'label' => __('Block wp-activate.php', 'wp-hide-security-enhancer'),
|
48 |
+
'description' => __('Block access to wp-activate.php file. This file confirms that the activation key that is sent in an email after a user signs up for a new blog matches the key for that user. If <b>anyone can register</b> on your site, you shold keep this off.', 'wp-hide-security-enhancer'),
|
49 |
+
|
50 |
+
'input_type' => 'radio',
|
51 |
+
'options' => array(
|
52 |
+
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
53 |
+
'no' => __('No', 'wp-hide-security-enhancer'),
|
54 |
+
),
|
55 |
+
'default_value' => 'no',
|
56 |
+
|
57 |
+
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
58 |
+
'processing_order' => 60
|
59 |
+
);
|
60 |
+
|
61 |
+
$this->module_settings[] = array(
|
62 |
+
'id' => 'block_default_wp_signup_php',
|
63 |
+
'label' => 'Block wp-signup.php',
|
64 |
+
'description' => __('Block default wp-signup.php file. If <b>anyone can register</b> on your site, you shold keep this off.', 'wp-hide-security-enhancer'),
|
65 |
+
|
66 |
+
'input_type' => 'radio',
|
67 |
+
'options' => array(
|
68 |
+
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
69 |
+
'no' => __('No', 'wp-hide-security-enhancer'),
|
70 |
+
),
|
71 |
+
'default_value' => 'no',
|
72 |
+
|
73 |
+
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
74 |
+
'processing_order' => 55
|
75 |
+
|
76 |
+
);
|
77 |
+
|
78 |
+
$this->module_settings[] = array(
|
79 |
+
'id' => 'block_other_wp_files',
|
80 |
+
'label' => 'Block other wp-*.php files',
|
81 |
+
'description' => __('Block other wp-*.php files. E.g. wp-blog-header.php, wp-config.php, wp-cron.php. Those files are used internally, blocking those will not affect any functionality. Other root files (wp-activate.php, wp-login.php, wp-signup.php) are ignored, they can be controlled through own setting.', 'wp-hide-security-enhancer'),
|
82 |
+
|
83 |
+
'input_type' => 'radio',
|
84 |
+
'options' => array(
|
85 |
+
'yes' => __('Yes', 'wp-hide-security-enhancer'),
|
86 |
+
'no' => __('No', 'wp-hide-security-enhancer'),
|
87 |
+
),
|
88 |
+
'default_value' => 'no',
|
89 |
+
|
90 |
+
'sanitize_type' => array('sanitize_title', 'strtolower'),
|
91 |
+
'processing_order' => 55
|
92 |
+
|
93 |
+
);
|
94 |
+
|
95 |
+
return $this->module_settings;
|
96 |
+
}
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
function _callback_saved_block_license_txt($saved_field_data)
|
101 |
+
{
|
102 |
+
$processing_response = array();
|
103 |
+
|
104 |
+
if(empty($saved_field_data) || $saved_field_data == 'no')
|
105 |
+
return FALSE;
|
106 |
+
|
107 |
+
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
108 |
+
$text .= "RewriteRule ^license.txt ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
109 |
+
|
110 |
+
$processing_response['htaccess'] = $text;
|
111 |
+
|
112 |
+
return $processing_response;
|
113 |
+
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
+
function _callback_saved_block_readme_html($saved_field_data)
|
118 |
+
{
|
119 |
+
$processing_response = array();
|
120 |
+
|
121 |
+
if(empty($saved_field_data) || $saved_field_data == 'no')
|
122 |
+
return FALSE;
|
123 |
+
|
124 |
+
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
125 |
+
$text .= "RewriteRule ^readme.html ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
126 |
+
|
127 |
+
$processing_response['htaccess'] = $text;
|
128 |
+
|
129 |
+
return $processing_response;
|
130 |
+
|
131 |
+
|
132 |
+
}
|
133 |
+
|
134 |
+
function _callback_saved_block_wp_activate_php($saved_field_data)
|
135 |
+
{
|
136 |
+
$processing_response = array();
|
137 |
+
|
138 |
+
if(empty($saved_field_data) || $saved_field_data == 'no')
|
139 |
+
return FALSE;
|
140 |
+
|
141 |
+
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
142 |
+
$text .= "RewriteRule ^wp-activate.php ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
143 |
+
|
144 |
+
$processing_response['htaccess'] = $text;
|
145 |
+
|
146 |
+
return $processing_response;
|
147 |
+
|
148 |
+
|
149 |
+
}
|
150 |
+
|
151 |
+
function _callback_saved_block_default_wp_signup_php($saved_field_data)
|
152 |
+
{
|
153 |
+
$processing_response = array();
|
154 |
+
|
155 |
+
if(empty($saved_field_data) || $saved_field_data == 'no')
|
156 |
+
return $processing_response;
|
157 |
+
|
158 |
+
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
159 |
+
$text .= "RewriteRule ^wp-signup.php ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
160 |
+
|
161 |
+
$processing_response['htaccess'] = $text;
|
162 |
+
|
163 |
+
return $processing_response;
|
164 |
+
}
|
165 |
+
|
166 |
+
function _callback_saved_block_other_wp_files($saved_field_data)
|
167 |
+
{
|
168 |
+
$processing_response = array();
|
169 |
+
|
170 |
+
if(empty($saved_field_data) || $saved_field_data == 'no')
|
171 |
+
return $processing_response;
|
172 |
+
|
173 |
+
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
174 |
+
$text .= "RewriteCond %{REQUEST_FILENAME} -f\n";
|
175 |
+
|
176 |
+
$text .= "RewriteCond %{REQUEST_FILENAME} !wp-activate.php [NC]\n";
|
177 |
+
$text .= "RewriteCond %{REQUEST_FILENAME} !wp-signup.php [NC]\n";
|
178 |
+
|
179 |
+
$text .= "RewriteRule ^wp-([a-z-])+.php ". $this->wph->default_variables['site_relative_path'] ."index.php [L]";
|
180 |
+
|
181 |
+
$processing_response['htaccess'] = $text;
|
182 |
+
|
183 |
+
return $processing_response;
|
184 |
+
}
|
185 |
+
}
|
186 |
+
?>
|
modules/components/rewrite-wp_content_path.php
CHANGED
@@ -9,11 +9,25 @@
|
|
9 |
|
10 |
function get_module_settings()
|
11 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
$this->module_settings[] = array(
|
13 |
'id' => 'block_wp_content_path',
|
14 |
'label' => __('Block wp-content URL', 'wp-hide-security-enhancer'),
|
15 |
-
'description' => __('Your wp-content path is set to', 'wp-hide-security-enhancer') . ' <strong>'. $this->wph->default_variables['content_directory'] .'</strong>
|
16 |
-
'. __('
|
17 |
|
18 |
'input_type' => 'radio',
|
19 |
'options' => array(
|
@@ -29,6 +43,39 @@
|
|
29 |
return $this->module_settings;
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
function _init_block_wp_content_path($saved_field_data)
|
@@ -43,6 +90,11 @@
|
|
43 |
if(empty($saved_field_data) || $saved_field_data == 'no')
|
44 |
return FALSE;
|
45 |
|
|
|
|
|
|
|
|
|
|
|
46 |
$content_directory = $this->wph->default_variables['content_directory'];
|
47 |
|
48 |
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
9 |
|
10 |
function get_module_settings()
|
11 |
{
|
12 |
+
$this->module_settings[] = array(
|
13 |
+
'id' => 'new_content_path',
|
14 |
+
'label' => __('New Content Path', 'wp-hide-security-enhancer'),
|
15 |
+
'description' => __('Your default wp-content path is set to', 'wp-hide-security-enhancer') . ' <strong>'. $this->wph->default_variables['content_directory'] .'</strong>
|
16 |
+
'. __('More details can be found at', 'wp-hide-security-enhancer') .' <a href="http://www.nsp-code.com" target="_blank">Link</a>',
|
17 |
+
|
18 |
+
'value_description' => __('e.g. my_content', 'wp-hide-security-enhancer'),
|
19 |
+
'input_type' => 'text',
|
20 |
+
|
21 |
+
'sanitize_type' => array(array($this->wph->functions, 'sanitize_file_path_name')),
|
22 |
+
'processing_order' => 21
|
23 |
+
);
|
24 |
+
|
25 |
+
|
26 |
$this->module_settings[] = array(
|
27 |
'id' => 'block_wp_content_path',
|
28 |
'label' => __('Block wp-content URL', 'wp-hide-security-enhancer'),
|
29 |
+
'description' => __('Block default content path. Your default wp-content path is set to', 'wp-hide-security-enhancer') . ' <strong>'. $this->wph->default_variables['content_directory'] .'</strong>
|
30 |
+
'. __('Apply only if <b>New Content Path</b> is not empty. It block only for non loged-in users.', 'wp-hide-security-enhancer'),
|
31 |
|
32 |
'input_type' => 'radio',
|
33 |
'options' => array(
|
43 |
return $this->module_settings;
|
44 |
}
|
45 |
|
46 |
+
|
47 |
+
function _init_new_content_path($saved_field_data)
|
48 |
+
{
|
49 |
+
if(empty($saved_field_data))
|
50 |
+
return FALSE;
|
51 |
+
|
52 |
+
$content_directory = $this->wph->default_variables['content_directory'];
|
53 |
+
|
54 |
+
//add default plugin path replacement
|
55 |
+
$new_content_path = trailingslashit( site_url() ) . untrailingslashit( $saved_field_data );
|
56 |
+
$this->wph->urls_replacement[trailingslashit( site_url() ) . $content_directory ] = $new_content_path;
|
57 |
+
}
|
58 |
+
|
59 |
+
function _callback_saved_new_content_path($saved_field_data)
|
60 |
+
{
|
61 |
+
$processing_response = array();
|
62 |
+
|
63 |
+
//check if the field is noe empty
|
64 |
+
if(empty($saved_field_data))
|
65 |
+
return $processing_response;
|
66 |
+
|
67 |
+
|
68 |
+
$content_path = $this->wph->functions->get_url_path( trailingslashit( WP_CONTENT_URL ));
|
69 |
+
|
70 |
+
$path = '';
|
71 |
+
if(!empty($this->wph->default_variables['wordpress_directory']))
|
72 |
+
$path = trailingslashit($this->wph->default_variables['wordpress_directory']);
|
73 |
+
$path .= trailingslashit( $saved_field_data );
|
74 |
+
|
75 |
+
$processing_response['htaccess'] = "\nRewriteRule ^" . $path . '(.*) '. $content_path .'$1 [L,QSA]';
|
76 |
+
|
77 |
+
return $processing_response;
|
78 |
+
}
|
79 |
|
80 |
|
81 |
function _init_block_wp_content_path($saved_field_data)
|
90 |
if(empty($saved_field_data) || $saved_field_data == 'no')
|
91 |
return FALSE;
|
92 |
|
93 |
+
//prevent from blocking if the wp-include is not modified
|
94 |
+
$new_content_path = $this->wph->functions->get_module_item_setting('new_content_path');
|
95 |
+
if (empty( $new_content_path ))
|
96 |
+
return FALSE;
|
97 |
+
|
98 |
$content_directory = $this->wph->default_variables['content_directory'];
|
99 |
|
100 |
$text = "RewriteCond %{ENV:REDIRECT_STATUS} ^$\n";
|
modules/module-admin.php
CHANGED
@@ -19,6 +19,12 @@
|
|
19 |
|
20 |
}
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
function get_module_id()
|
23 |
{
|
24 |
|
@@ -35,7 +41,7 @@
|
|
35 |
{
|
36 |
$interface_data = array();
|
37 |
|
38 |
-
$interface_data['menu_title'] = 'Admin';
|
39 |
$interface_data['menu_slug'] = self::get_module_slug();
|
40 |
$interface_data['menu_position'] = 30;
|
41 |
|
@@ -47,9 +53,9 @@
|
|
47 |
|
48 |
$interface_data = array();
|
49 |
|
50 |
-
$interface_data['title'] = 'WP Hide & Security Enhancer - Admin';
|
51 |
$interface_data['description'] = '';
|
52 |
-
$interface_data['handle_title'] = '
|
53 |
|
54 |
return $interface_data;
|
55 |
|
19 |
|
20 |
}
|
21 |
|
22 |
+
function use_tabs()
|
23 |
+
{
|
24 |
+
|
25 |
+
return TRUE;
|
26 |
+
}
|
27 |
+
|
28 |
function get_module_id()
|
29 |
{
|
30 |
|
41 |
{
|
42 |
$interface_data = array();
|
43 |
|
44 |
+
$interface_data['menu_title'] = __('Admin', 'wp-hide-security-enhancer');
|
45 |
$interface_data['menu_slug'] = self::get_module_slug();
|
46 |
$interface_data['menu_position'] = 30;
|
47 |
|
53 |
|
54 |
$interface_data = array();
|
55 |
|
56 |
+
$interface_data['title'] = __('WP Hide & Security Enhancer - Admin', 'wp-hide-security-enhancer');
|
57 |
$interface_data['description'] = '';
|
58 |
+
$interface_data['handle_title'] = '';
|
59 |
|
60 |
return $interface_data;
|
61 |
|
modules/module-general.php
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
{
|
39 |
$interface_data = array();
|
40 |
|
41 |
-
$interface_data['menu_title'] = 'General';
|
42 |
$interface_data['menu_slug'] = self::get_module_slug();
|
43 |
$interface_data['menu_position'] = 20;
|
44 |
|
@@ -50,9 +50,9 @@
|
|
50 |
|
51 |
$interface_data = array();
|
52 |
|
53 |
-
$interface_data['title'] = 'WP Hide & Security Enhancer - General';
|
54 |
$interface_data['description'] = '';
|
55 |
-
$interface_data['handle_title'] = '
|
56 |
|
57 |
return $interface_data;
|
58 |
|
38 |
{
|
39 |
$interface_data = array();
|
40 |
|
41 |
+
$interface_data['menu_title'] = __('General / Html', 'wp-hide-security-enhancer');
|
42 |
$interface_data['menu_slug'] = self::get_module_slug();
|
43 |
$interface_data['menu_position'] = 20;
|
44 |
|
50 |
|
51 |
$interface_data = array();
|
52 |
|
53 |
+
$interface_data['title'] = __('WP Hide & Security Enhancer - General / Html', 'wp-hide-security-enhancer');
|
54 |
$interface_data['description'] = '';
|
55 |
+
$interface_data['handle_title'] = '';
|
56 |
|
57 |
return $interface_data;
|
58 |
|
modules/module-rewrite.php
CHANGED
@@ -29,6 +29,9 @@
|
|
29 |
include(WPH_PATH . "/modules/components/rewrite-new_xml-rpc-path.php");
|
30 |
$this->components[] = new WPH_module_rewrite_new_xml_rpc_path();
|
31 |
|
|
|
|
|
|
|
32 |
|
33 |
//action available for mu-plugins
|
34 |
do_action('wp-hide/module_load_components', $this);
|
29 |
include(WPH_PATH . "/modules/components/rewrite-new_xml-rpc-path.php");
|
30 |
$this->components[] = new WPH_module_rewrite_new_xml_rpc_path();
|
31 |
|
32 |
+
include(WPH_PATH . "/modules/components/rewrite-root-files.php");
|
33 |
+
$this->components[] = new WPH_module_rewrite_root_files();
|
34 |
+
|
35 |
|
36 |
//action available for mu-plugins
|
37 |
do_action('wp-hide/module_load_components', $this);
|
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.2
|
7 |
-
Stable tag: 1.2
|
8 |
|
9 |
Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
|
10 |
|
@@ -52,10 +52,78 @@ and many more.
|
|
52 |
This plugin allow to change default Admin Url's from **wp-login.php** and **wp-admin** to something else. All original links return default theme 404 Not Found page, like nothing exists there. Beside the huge security advantage, this save lots of server processing time by reducing php code and MySQL usage since brute-force attacks trigger wrong urls.
|
53 |
|
54 |
**Important:** Compared to all other similar plugins which mainly use redirects, this plugin return a default theme 404 error page for all **block url** functionality, so is not reveal at all the link existence.
|
|
|
55 |
Since version 1.2 Change individual plugin urls which make them unrecognizable, for example change default WooCommerce plugin urls and dependencies from domain.com/wp-content/plugins/woocommerce/ to domain.com/ecommerce/cdn/ or anything customized.
|
56 |
|
57 |
<br />Something is wrong with this plugin on your site? Just use the forum or get in touch with us at <a target="_blank" href="http://www.nsp-code.com">Contact</a> and we'll check it out.
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
<br />A website example can be found at <a target="_blank" href="http://nsp-code.com/demo/wp-hide/">http://nsp-code.com/demo/wp-hide/</a>
|
60 |
|
61 |
<br />Plugin homepage at <a target="_blank" href="http://www.wp-hide.com/">WordPress Hide and Security Enhancer</a>
|
@@ -96,6 +164,17 @@ Please get in touch with us and we'll do our best to include it for a next versi
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
= 1.2 =
|
100 |
* New Feature Change individual plugin url path
|
101 |
* Admin layout improvments
|
4 |
Tags: hide, security, improve security, hacking, wp hide, wordpress hide
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 4.4.2
|
7 |
+
Stable tag: 1.2.2
|
8 |
|
9 |
Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
|
10 |
|
52 |
This plugin allow to change default Admin Url's from **wp-login.php** and **wp-admin** to something else. All original links return default theme 404 Not Found page, like nothing exists there. Beside the huge security advantage, this save lots of server processing time by reducing php code and MySQL usage since brute-force attacks trigger wrong urls.
|
53 |
|
54 |
**Important:** Compared to all other similar plugins which mainly use redirects, this plugin return a default theme 404 error page for all **block url** functionality, so is not reveal at all the link existence.
|
55 |
+
|
56 |
Since version 1.2 Change individual plugin urls which make them unrecognizable, for example change default WooCommerce plugin urls and dependencies from domain.com/wp-content/plugins/woocommerce/ to domain.com/ecommerce/cdn/ or anything customized.
|
57 |
|
58 |
<br />Something is wrong with this plugin on your site? Just use the forum or get in touch with us at <a target="_blank" href="http://www.nsp-code.com">Contact</a> and we'll check it out.
|
59 |
|
60 |
+
= Plugin Sections =
|
61 |
+
|
62 |
+
**Rewrite > Theme**
|
63 |
+
|
64 |
+
* New Theme Path - Change default theme path
|
65 |
+
* New Theme Child Path - Change default child theme path
|
66 |
+
* New Style File Path - Change theme stylesheed file path and name
|
67 |
+
|
68 |
+
**Rewrite > WP includes**
|
69 |
+
|
70 |
+
* New Includes Path - Change default wp-includes path / url
|
71 |
+
* Block wp-includes URL - Block default wp-includes url
|
72 |
+
|
73 |
+
**Rewrite > WP content**
|
74 |
+
|
75 |
+
* New Content Path - Change default wp-content path / url
|
76 |
+
* Block wp-content URL - Block default content url
|
77 |
+
|
78 |
+
**Rewrite > Plugins**
|
79 |
+
|
80 |
+
* New Plugins Path - Change default wp-content/plugins path / url
|
81 |
+
* Block plugins URL - Block default wp-content/plugins url
|
82 |
+
* New path / url for every active plugins
|
83 |
+
|
84 |
+
**Rewrite > Uploads**
|
85 |
+
|
86 |
+
* New Uploads Path - Change default media files path / url
|
87 |
+
* Block uploads URL - Block default media files url
|
88 |
+
|
89 |
+
**Rewrite > XML-RPC**
|
90 |
+
|
91 |
+
* New XML-RPC Path - Change default XML-RPC path / url
|
92 |
+
* Block default xmlrpc.php - Block default XML-RPC url
|
93 |
+
* Remove pingback - Remove pingback link tag from theme
|
94 |
+
|
95 |
+
**Rewrite > Root Files**
|
96 |
+
|
97 |
+
* Block license.txt - Block access to license.txt root file
|
98 |
+
* Block readme.html - Block access to readme.html root file
|
99 |
+
* Block wp-activate.php - Block access to wp-activate.php file
|
100 |
+
* Block wp-signup.php - Block default wp-signup.php file
|
101 |
+
* Block other wp-*.php files - Block other wp-*.php files within WordPress Root
|
102 |
+
|
103 |
+
**General / Html**
|
104 |
+
|
105 |
+
* Disable Emoji
|
106 |
+
* Disable TinyMC Emoji
|
107 |
+
* Remove Version
|
108 |
+
* Remove Generator Meta
|
109 |
+
* Remove wlwmanifest Meta
|
110 |
+
* Remove feed_links Meta
|
111 |
+
* Remove rsd_link Meta
|
112 |
+
* Remove adjacent_posts_rel Meta
|
113 |
+
* Remove profile link
|
114 |
+
* Remove canonical link
|
115 |
+
|
116 |
+
**Admin > wp-login.php**
|
117 |
+
|
118 |
+
* New wp-login.php - Map a new wp-login.php instead default
|
119 |
+
* Block default wp-login.php - Block default wp-login.php file from being accesible
|
120 |
+
|
121 |
+
**Admin > Admin URL**
|
122 |
+
|
123 |
+
* New Admin Url - Create a new admin url instead default /wp-admin. This also apply for admin-ajax.php calls
|
124 |
+
* Block default Admin Url - Block default admin url and files from being accesible
|
125 |
+
|
126 |
+
|
127 |
<br />A website example can be found at <a target="_blank" href="http://nsp-code.com/demo/wp-hide/">http://nsp-code.com/demo/wp-hide/</a>
|
128 |
|
129 |
<br />Plugin homepage at <a target="_blank" href="http://www.wp-hide.com/">WordPress Hide and Security Enhancer</a>
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= 1.2.2 =
|
168 |
+
* New Content Path
|
169 |
+
* New Component : Root Files
|
170 |
+
* Block license.txt
|
171 |
+
* Block readme.html
|
172 |
+
* Block wp-activate.php
|
173 |
+
* Block wp-signup.php
|
174 |
+
* Block other wp-*.php files
|
175 |
+
* licence.txt and readme.html block
|
176 |
+
* PO translations update
|
177 |
+
|
178 |
= 1.2 =
|
179 |
* New Feature Change individual plugin url path
|
180 |
* Admin layout improvments
|
wp-hide.php
CHANGED
@@ -5,7 +5,7 @@ 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.2
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|
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.2.2
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|