Version Description
- Removed console issue when no comments turned on
Download this release
Release Info
Developer | fullworks |
Plugin | Stop User Enumeration |
Version | 1.3.27 |
Comparing to | |
See all releases |
Code changes from version 1.3.26 to 1.3.27
- admin/class-admin-settings.php +1 -1
- frontend/js/frontend.js +5 -1
- readme.txt +4 -1
- stop-user-enumeration.php +1 -1
admin/class-admin-settings.php
CHANGED
@@ -233,7 +233,7 @@ class Admin_Settings extends Admin_Pages {
|
|
233 |
id="stop-user-enumeration[comment_jquery]"
|
234 |
value="on"
|
235 |
<?php checked( 'on', $options['comment_jquery'] ); ?>>
|
236 |
-
|
237 |
'stop-user-enumeration' ); ?></label>
|
238 |
</td>
|
239 |
</tr>
|
233 |
id="stop-user-enumeration[comment_jquery]"
|
234 |
value="on"
|
235 |
<?php checked( 'on', $options['comment_jquery'] ); ?>>
|
236 |
+
<?php esc_html_e( 'This plugin uses JavaScript to remove any numbers from a comment author name, this is because numbers trigger enumeration checking. You can untick this if you do not use comments on your site or you use a different comment method than standard',
|
237 |
'stop-user-enumeration' ); ?></label>
|
238 |
</td>
|
239 |
</tr>
|
frontend/js/frontend.js
CHANGED
@@ -3,7 +3,11 @@ Remove numbers from comment author
|
|
3 |
*/
|
4 |
|
5 |
document.addEventListener('DOMContentLoaded', function (event) {
|
6 |
-
document.getElementById("commentform")
|
|
|
|
|
|
|
|
|
7 |
'blur',
|
8 |
function () {
|
9 |
this.value = this.value.replace(/\d+/g, '');
|
3 |
*/
|
4 |
|
5 |
document.addEventListener('DOMContentLoaded', function (event) {
|
6 |
+
var commentForm = document.getElementById("commentform");
|
7 |
+
if ( null === commentForm ) {
|
8 |
+
return;
|
9 |
+
}
|
10 |
+
commentForm.querySelector("#author").addEventListener(
|
11 |
'blur',
|
12 |
function () {
|
13 |
this.value = this.value.replace(/\d+/g, '');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: User Enumeration, Security, WPSCAN, fail2ban,
|
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -62,6 +62,9 @@ No, the plugin automatically detects [Fullworks Firewall](https://wordpress.org/
|
|
62 |
|
63 |
|
64 |
== Changelog ==
|
|
|
|
|
|
|
65 |
= 1.3.26 =
|
66 |
* Updated library
|
67 |
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 1.3.27
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
62 |
|
63 |
|
64 |
== Changelog ==
|
65 |
+
= 1.3.27 =
|
66 |
+
* Removed console issue when no comments turned on
|
67 |
+
|
68 |
= 1.3.26 =
|
69 |
* Updated library
|
70 |
|
stop-user-enumeration.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Stop User Enumeration
|
4 |
Plugin URI: https://fullworks.net/products/stop-user-enumeration/
|
5 |
Description: User enumeration is a technique used by hackers to get your login name if you are using permalinks. This plugin stops that.
|
6 |
-
Version: 1.3.
|
7 |
Author: Fullworks
|
8 |
Text Domain: stop-user-enumeration
|
9 |
Domain Path: /languages
|
3 |
Plugin Name: Stop User Enumeration
|
4 |
Plugin URI: https://fullworks.net/products/stop-user-enumeration/
|
5 |
Description: User enumeration is a technique used by hackers to get your login name if you are using permalinks. This plugin stops that.
|
6 |
+
Version: 1.3.27
|
7 |
Author: Fullworks
|
8 |
Text Domain: stop-user-enumeration
|
9 |
Domain Path: /languages
|