Version Description
- Move query arg to init hook to avoid unneccessary warnings
- Update donation lib
Download this release
Release Info
Developer | fullworks |
Plugin | Stop User Enumeration |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
includes/class-core.php
CHANGED
@@ -174,7 +174,7 @@ class Core {
|
|
174 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
175 |
}
|
176 |
|
177 |
-
$this->loader->add_action( '
|
178 |
$this->loader->add_action( 'rest_authentication_errors', $plugin_public, 'only_allow_logged_in_rest_access_to_users' );
|
179 |
if ( 'on' === $this->sue_get_option( 'stop_sitemap', 'off' ) ) {
|
180 |
$this->loader->add_filter( 'wp_sitemaps_add_provider', $plugin_public, 'remove_author_sitemap', 10, 2 );
|
174 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
175 |
}
|
176 |
|
177 |
+
$this->loader->add_action( 'init', $plugin_public, 'check_request' );
|
178 |
$this->loader->add_action( 'rest_authentication_errors', $plugin_public, 'only_allow_logged_in_rest_access_to_users' );
|
179 |
if ( 'on' === $this->sue_get_option( 'stop_sitemap', 'off' ) ) {
|
180 |
$this->loader->add_filter( 'wp_sitemaps_add_provider', $plugin_public, 'remove_author_sitemap', 10, 2 );
|
includes/vendor/alanef/plugindonation_lib/PluginDonation.php
CHANGED
@@ -624,11 +624,22 @@ EOT;
|
|
624 |
}
|
625 |
$user_id = get_current_user_id();
|
626 |
/* handle issue of old version */
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
632 |
$um = get_user_meta( $user_id, 'pdlib_dismissed_notices', true );
|
633 |
if ( ! is_array( $um ) ) {
|
634 |
$um = array();
|
624 |
}
|
625 |
$user_id = get_current_user_id();
|
626 |
/* handle issue of old version */
|
627 |
+
$slugs =array(
|
628 |
+
'stop-user-enumeration',
|
629 |
+
'clean-and-simple-contact-form-by-meg-nicholas',
|
630 |
+
'redirect-404-error-page-to-homepage-or-custom-page',
|
631 |
+
'simple-google-maps-short-code',
|
632 |
+
'stop-wp-emails-going-to-spam',
|
633 |
+
);
|
634 |
+
foreach( $slugs as $slug) {
|
635 |
+
$legacy = get_user_meta( $user_id, $slug .'_pdlib_dismissed_notices', true );
|
636 |
+
if ( ! empty( $legacy ) ) {
|
637 |
+
update_user_meta( $user_id, 'pdlib_dismissed_notices', $legacy );
|
638 |
+
delete_user_meta( $user_id, $slug .'_pdlib_dismissed_notices' );
|
639 |
+
break;
|
640 |
+
}
|
641 |
+
}
|
642 |
+
/* end of tidy up */
|
643 |
$um = get_user_meta( $user_id, 'pdlib_dismissed_notices', true );
|
644 |
if ( ! is_array( $um ) ) {
|
645 |
$um = array();
|
includes/vendor/composer/installed.json
CHANGED
@@ -7,15 +7,15 @@
|
|
7 |
"source": {
|
8 |
"type": "git",
|
9 |
"url": "https://github.com/alanef/plugindonation_lib.git",
|
10 |
-
"reference": "
|
11 |
},
|
12 |
"dist": {
|
13 |
"type": "zip",
|
14 |
-
"url": "https://api.github.com/repos/alanef/plugindonation_lib/zipball/
|
15 |
-
"reference": "
|
16 |
"shasum": ""
|
17 |
},
|
18 |
-
"time": "2022-01-
|
19 |
"default-branch": true,
|
20 |
"type": "library",
|
21 |
"installation-source": "dist",
|
7 |
"source": {
|
8 |
"type": "git",
|
9 |
"url": "https://github.com/alanef/plugindonation_lib.git",
|
10 |
+
"reference": "c6b39587b00c6ada371d28b8200f050099f3a824"
|
11 |
},
|
12 |
"dist": {
|
13 |
"type": "zip",
|
14 |
+
"url": "https://api.github.com/repos/alanef/plugindonation_lib/zipball/c6b39587b00c6ada371d28b8200f050099f3a824",
|
15 |
+
"reference": "c6b39587b00c6ada371d28b8200f050099f3a824",
|
16 |
"shasum": ""
|
17 |
},
|
18 |
+
"time": "2022-01-25T10:06:52+00:00",
|
19 |
"default-branch": true,
|
20 |
"type": "library",
|
21 |
"installation-source": "dist",
|
includes/vendor/composer/installed.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '1.4.
|
4 |
-
'version' => '1.4.
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
9 |
'name' => 'fullworks/stop-user-enumeration',
|
10 |
'dev' => true,
|
11 |
),
|
@@ -18,7 +18,7 @@
|
|
18 |
'aliases' => array(
|
19 |
0 => '9999999-dev',
|
20 |
),
|
21 |
-
'reference' => '
|
22 |
'dev_requirement' => false,
|
23 |
),
|
24 |
'composer/installers' => array(
|
@@ -31,12 +31,12 @@
|
|
31 |
'dev_requirement' => false,
|
32 |
),
|
33 |
'fullworks/stop-user-enumeration' => array(
|
34 |
-
'pretty_version' => '1.4.
|
35 |
-
'version' => '1.4.
|
36 |
'type' => 'wordpress-plugin',
|
37 |
'install_path' => __DIR__ . '/../../../',
|
38 |
'aliases' => array(),
|
39 |
-
'reference' => '
|
40 |
'dev_requirement' => false,
|
41 |
),
|
42 |
'shama/baton' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '1.4.3.x-dev',
|
4 |
+
'version' => '1.4.3.9999999-dev',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '1a9593b23109db941fe7aff8e71709c9cd08629e',
|
9 |
'name' => 'fullworks/stop-user-enumeration',
|
10 |
'dev' => true,
|
11 |
),
|
18 |
'aliases' => array(
|
19 |
0 => '9999999-dev',
|
20 |
),
|
21 |
+
'reference' => 'c6b39587b00c6ada371d28b8200f050099f3a824',
|
22 |
'dev_requirement' => false,
|
23 |
),
|
24 |
'composer/installers' => array(
|
31 |
'dev_requirement' => false,
|
32 |
),
|
33 |
'fullworks/stop-user-enumeration' => array(
|
34 |
+
'pretty_version' => '1.4.3.x-dev',
|
35 |
+
'version' => '1.4.3.9999999-dev',
|
36 |
'type' => 'wordpress-plugin',
|
37 |
'install_path' => __DIR__ . '/../../../',
|
38 |
'aliases' => array(),
|
39 |
+
'reference' => '1a9593b23109db941fe7aff8e71709c9cd08629e',
|
40 |
'dev_requirement' => false,
|
41 |
),
|
42 |
'shama/baton' => array(
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: alanfuller, fullworks
|
|
3 |
Donate Link: https://www.paypal.com/donate/?hosted_button_id=UGRBY5CHSD53Q
|
4 |
Tags: User Enumeration, Security, WPSCAN, fail2ban,
|
5 |
Tested up to: 5.9
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -76,8 +76,12 @@ An example jail.local is found in plugin directory stop-user-enumeration/fail2ba
|
|
76 |
== Upgrade Notice ==
|
77 |
|
78 |
== Changelog ==
|
|
|
|
|
|
|
|
|
79 |
= 1.4.2 =
|
80 |
-
* Fix edge case where
|
81 |
|
82 |
= 1.4.1 =
|
83 |
* Tidy donation library for build to remove dev dependencies
|
3 |
Donate Link: https://www.paypal.com/donate/?hosted_button_id=UGRBY5CHSD53Q
|
4 |
Tags: User Enumeration, Security, WPSCAN, fail2ban,
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 1.4.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
76 |
== Upgrade Notice ==
|
77 |
|
78 |
== Changelog ==
|
79 |
+
= 1.4.3 =
|
80 |
+
* Move query arg to init hook to avoid unneccessary warnings
|
81 |
+
* Update donation lib
|
82 |
+
|
83 |
= 1.4.2 =
|
84 |
+
* Fix edge case where review / donate become undismissible
|
85 |
|
86 |
= 1.4.1 =
|
87 |
* Tidy donation library for build to remove dev dependencies
|
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.4.
|
7 |
Author: Fullworks
|
8 |
Requires at least: 4.6
|
9 |
Requires PHP: 5.6
|
@@ -37,7 +37,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
37 |
die;
|
38 |
}
|
39 |
define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
40 |
-
define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.4.
|
41 |
|
42 |
|
43 |
// Include the autoloader, so we can dynamically include the classes.
|
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.4.3
|
7 |
Author: Fullworks
|
8 |
Requires at least: 4.6
|
9 |
Requires PHP: 5.6
|
37 |
die;
|
38 |
}
|
39 |
define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
40 |
+
define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.4.3' );
|
41 |
|
42 |
|
43 |
// Include the autoloader, so we can dynamically include the classes.
|