Version Description
- Removed donate link
Download this release
Release Info
Developer | fullworks |
Plugin | Stop User Enumeration |
Version | 1.3.23 |
Comparing to | |
See all releases |
Code changes from version 1.3.22 to 1.3.23
- admin/class-admin-settings.php +34 -2
- admin/css/admin.css +101 -0
- admin/css/images/logocrop200.svg +168 -0
- admin/css/images/vertbg.png +0 -0
- admin/templates/metabox_offers_1.php +24 -0
- admin/templates/metabox_offers_2.php +23 -0
- admin/templates/metabox_offers_3.php +23 -0
- bootstrap.php +1 -1
- includes/class-core.php +2 -18
- includes/class-uninstall.php +0 -1
- languages/stop-user-enumeration.pot +16 -12
- readme.txt +5 -3
- stop-user-enumeration.php +1 -1
admin/class-admin-settings.php
CHANGED
@@ -35,6 +35,25 @@ class Admin_Settings extends Admin_Pages {
|
|
35 |
parent::__construct();
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
public function register_settings() {
|
39 |
/* Register our setting. */
|
40 |
register_setting(
|
@@ -99,10 +118,23 @@ class Admin_Settings extends Admin_Pages {
|
|
99 |
'normal', /* Context */
|
100 |
'default' /* Priority */
|
101 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
|
104 |
}
|
105 |
|
|
|
|
|
|
|
|
|
|
|
106 |
public function meta_box_information() {
|
107 |
?>
|
108 |
<table class="form-table">
|
@@ -120,10 +152,10 @@ class Admin_Settings extends Admin_Pages {
|
|
120 |
href="https://www.fail2ban.org" target="_blank">fail2ban</a></p>', 'stop-user-enumeration' ); ?>
|
121 |
</td>
|
122 |
</tr>
|
123 |
-
|
124 |
<th scope="row"><?php _e( 'Support', 'stop-user-enumeration' ); ?></th>
|
125 |
<td>
|
126 |
-
|
127 |
href="https://wordpress.org/support/plugin/stop-user-enumeration/" target="_blank">WordPress.org support forum</a>', 'stop-user-enumeration' ); ?>
|
128 |
</td>
|
129 |
</tr>
|
35 |
parent::__construct();
|
36 |
}
|
37 |
|
38 |
+
public function enqueue_styles( $hook ) {
|
39 |
+
if ( $hook != $this->settings_page_id ) {
|
40 |
+
return;
|
41 |
+
}
|
42 |
+
wp_enqueue_style(
|
43 |
+
$this->plugin_name . '-fonts',
|
44 |
+
'https://fonts.googleapis.com/css?family=Fira+Sans:700|Roboto:300,400,500,700&display=swap',
|
45 |
+
array(),
|
46 |
+
null
|
47 |
+
);
|
48 |
+
|
49 |
+
wp_enqueue_style(
|
50 |
+
$this->plugin_name,
|
51 |
+
plugin_dir_url( __FILE__ ) . 'css/admin.css',
|
52 |
+
array(),
|
53 |
+
$this->version, 'all'
|
54 |
+
);
|
55 |
+
}
|
56 |
+
|
57 |
public function register_settings() {
|
58 |
/* Register our setting. */
|
59 |
register_setting(
|
118 |
'normal', /* Context */
|
119 |
'default' /* Priority */
|
120 |
);
|
121 |
+
add_meta_box(
|
122 |
+
'offers', /* Meta Box ID */
|
123 |
+
__( 'Offers', 'stop-user-enumeration' ), /* Title */
|
124 |
+
array( $this, 'meta_box_offers' ), /* Function Callback */
|
125 |
+
$this->settings_page_id, /* Screen: Our Settings Page */
|
126 |
+
'side', /* Context */
|
127 |
+
'default' /* Priority */
|
128 |
+
);
|
129 |
|
130 |
|
131 |
}
|
132 |
|
133 |
+
public function meta_box_offers() {
|
134 |
+
$offer_id = rand( 1, 3 );
|
135 |
+
include STOP_USER_ENUMERATION_PLUGIN_DIR . 'admin/templates/metabox_offers_' . $offer_id . '.php';
|
136 |
+
}
|
137 |
+
|
138 |
public function meta_box_information() {
|
139 |
?>
|
140 |
<table class="form-table">
|
152 |
href="https://www.fail2ban.org" target="_blank">fail2ban</a></p>', 'stop-user-enumeration' ); ?>
|
153 |
</td>
|
154 |
</tr>
|
155 |
+
<tr valign="top">
|
156 |
<th scope="row"><?php _e( 'Support', 'stop-user-enumeration' ); ?></th>
|
157 |
<td>
|
158 |
+
<?php _e( '<a class="button-secondary"
|
159 |
href="https://wordpress.org/support/plugin/stop-user-enumeration/" target="_blank">WordPress.org support forum</a>', 'stop-user-enumeration' ); ?>
|
160 |
</td>
|
161 |
</tr>
|
admin/css/admin.css
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@font-face {
|
2 |
+
font-family: "Fira Sans";
|
3 |
+
font-style: normal;
|
4 |
+
font-weight: 400;
|
5 |
+
src: url(fonts/400.ttf) format("ttf");
|
6 |
+
}
|
7 |
+
#poststuff #offers .inside {
|
8 |
+
padding: 0;
|
9 |
+
margin: 0;
|
10 |
+
}
|
11 |
+
#poststuff .offer-container {
|
12 |
+
padding: 20px 20px 5px 20px;
|
13 |
+
color: #fff;
|
14 |
+
background-color: #2E3744;
|
15 |
+
background-image: url(images/vertbg.png);
|
16 |
+
background-repeat: no-repeat;
|
17 |
+
background-position: top right;
|
18 |
+
}
|
19 |
+
#poststuff .offer-container:after {
|
20 |
+
content: "";
|
21 |
+
display: table;
|
22 |
+
clear: both;
|
23 |
+
}
|
24 |
+
#poststuff .offer-container p {
|
25 |
+
font-family: "Roboto", sans-serif;
|
26 |
+
font-size: 16px;
|
27 |
+
font-weight: 300;
|
28 |
+
}
|
29 |
+
#poststuff .offer-container .logo {
|
30 |
+
margin-bottom: 20px;
|
31 |
+
}
|
32 |
+
@media (max-width: 850px) and (min-width: 420px) {
|
33 |
+
#poststuff .offer-container .logo {
|
34 |
+
width: 50%;
|
35 |
+
float: right;
|
36 |
+
}
|
37 |
+
}
|
38 |
+
#poststuff .offer-container .heading h2 {
|
39 |
+
font-family: "Fira Sans", sans-serif;
|
40 |
+
font-size: 24px;
|
41 |
+
letter-spacing: 0.87px;
|
42 |
+
margin-bottom: 14px;
|
43 |
+
color: #fff;
|
44 |
+
font-weight: 700;
|
45 |
+
line-height: 28px;
|
46 |
+
margin: 0;
|
47 |
+
padding: 0;
|
48 |
+
}
|
49 |
+
@media (max-width: 850px) and (min-width: 420px) {
|
50 |
+
#poststuff .offer-container .heading {
|
51 |
+
width: 50%;
|
52 |
+
float: left;
|
53 |
+
}
|
54 |
+
}
|
55 |
+
#poststuff .offer-container .text {
|
56 |
+
padding-bottom: 20px;
|
57 |
+
}
|
58 |
+
#poststuff .offer-container .text p {
|
59 |
+
line-height: 1.5;
|
60 |
+
}
|
61 |
+
#poststuff .offer-container .text p.price {
|
62 |
+
font-weight: 900;
|
63 |
+
}
|
64 |
+
@media (max-width: 850px) and (min-width: 420px) {
|
65 |
+
#poststuff .offer-container .text {
|
66 |
+
width: 50%;
|
67 |
+
float: left;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
#poststuff .offer-container .cta {
|
71 |
+
text-align: center;
|
72 |
+
}
|
73 |
+
#poststuff .offer-container .cta .action a {
|
74 |
+
background-color: #409EBB;
|
75 |
+
color: #fff;
|
76 |
+
border-width: 0;
|
77 |
+
border-radius: 5px;
|
78 |
+
box-shadow: none;
|
79 |
+
cursor: pointer;
|
80 |
+
font-size: 18px;
|
81 |
+
font-weight: 700;
|
82 |
+
letter-spacing: 1px;
|
83 |
+
padding: 10px 30px;
|
84 |
+
text-align: center;
|
85 |
+
text-decoration: none;
|
86 |
+
text-transform: uppercase;
|
87 |
+
white-space: normal;
|
88 |
+
width: auto;
|
89 |
+
}
|
90 |
+
#poststuff .offer-container .cta .action a:hover {
|
91 |
+
box-shadow: inset 0 0 200px rgba(230, 230, 230, 0.25);
|
92 |
+
}
|
93 |
+
#poststuff .offer-container .cta .cta-text p {
|
94 |
+
line-height: 1;
|
95 |
+
}
|
96 |
+
@media (max-width: 850px) and (min-width: 420px) {
|
97 |
+
#poststuff .offer-container .cta {
|
98 |
+
width: 50%;
|
99 |
+
float: right;
|
100 |
+
}
|
101 |
+
}
|
admin/css/images/logocrop200.svg
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
5 |
+
y="0px"
|
6 |
+
width="200px" height="76px" viewBox="155 120 650 240" enable-background="new 155 120 650 240" xml:space="preserve">
|
7 |
+
<g>
|
8 |
+
<g>
|
9 |
+
<g>
|
10 |
+
<g>
|
11 |
+
<g>
|
12 |
+
<polygon fill="#FFFFFF" points="490.944,228.154 490.944,241.871 464.354,241.871 457.962,235.479 457.962,201.596
|
13 |
+
464.354,195.205 473.802,195.205 473.802,228.154 "/>
|
14 |
+
</g>
|
15 |
+
<g>
|
16 |
+
<polygon fill="#FFFFFF" points="530.71,228.064 530.71,241.871 504.12,241.871 497.725,235.479 497.725,201.596
|
17 |
+
504.12,195.205 513.563,195.205 513.563,228.064 "/>
|
18 |
+
</g>
|
19 |
+
<g>
|
20 |
+
<polygon fill="#FFFFFF" points="592.916,201.59 582.713,241.871 567.111,241.871 562.673,227.875 558.355,241.871
|
21 |
+
542.736,241.871 532.541,201.586 538.919,195.205 547.427,195.205 551.119,213.185 557.269,195.205 568.548,195.205
|
22 |
+
574.451,213.137 578.328,195.205 586.531,195.205 "/>
|
23 |
+
</g>
|
24 |
+
<g>
|
25 |
+
<path fill="#FFFFFF" d="M635.226,201.282c-4.015-4.318-9.502-6.497-16.362-6.497c-6.837,0-12.367,2.199-16.341,6.537
|
26 |
+
c-3.955,4.277-5.951,10.067-5.951,17.25c0,7.122,1.996,12.893,5.932,17.188c3.993,4.358,9.501,6.577,16.36,6.577
|
27 |
+
c6.86,0,12.348-2.178,16.362-6.496c3.975-4.237,5.972-10.047,5.972-17.27C641.197,211.348,639.2,205.539,635.226,201.282z
|
28 |
+
M624.716,223.01c-0.383,1.27-0.929,2.38-1.594,3.288c-0.545,0.726-1.151,1.23-1.857,1.553
|
29 |
+
c-0.785,0.364-1.553,0.544-2.359,0.544c-0.809,0-1.574-0.161-2.341-0.504c-0.706-0.303-1.332-0.807-1.895-1.574
|
30 |
+
c-0.646-0.826-1.172-1.936-1.575-3.248c-0.404-1.372-0.627-3.188-0.627-5.406c0-2.138,0.223-3.066,0.666-4.56
|
31 |
+
c0.424-1.372,0.928-2.481,1.536-3.247c0.662-0.788,1.309-1.333,1.913-1.594c0.666-0.284,1.454-0.445,2.322-0.445
|
32 |
+
c0.807,0,1.552,0.162,2.321,0.484c0.685,0.303,1.309,0.827,1.896,1.555c0.625,0.826,1.149,1.936,1.554,3.288
|
33 |
+
c0.423,1.433,0.625,2.36,0.625,4.499C625.301,219.902,625.099,221.718,624.716,223.01z"/>
|
34 |
+
</g>
|
35 |
+
<g>
|
36 |
+
<path fill="#FFFFFF" d="M678.5,222.364c1.495-1.09,2.765-2.36,3.835-3.813c1.754-2.441,2.643-5.569,2.643-9.281
|
37 |
+
c0-2.724-0.565-5.064-1.694-6.939c-1.09-1.816-2.563-3.309-4.4-4.499c-1.733-1.09-3.651-1.817-5.708-2.16
|
38 |
+
c-1.836-0.302-3.995-0.463-6.435-0.463h-12.914l-6.395,6.395v33.874l6.395,6.395h9.401v-13.638l11.058,13.638h14.627v-6.355
|
39 |
+
L678.5,222.364z M669.142,212.499c-0.162,0.362-0.426,0.685-0.81,0.968l-0.04,0.04c-0.402,0.323-0.907,0.545-1.552,0.646
|
40 |
+
c-1.01,0.181-1.756,0.283-3.29,0.283h-0.242v-6.718h0.849c1.289,0,1.836,0.04,2.684,0.121c0.604,0.06,1.149,0.181,1.572,0.363
|
41 |
+
c0.605,0.263,0.746,0.524,0.786,0.605c0.224,0.404,0.325,0.969,0.325,1.655C669.424,211.671,669.24,212.256,669.142,212.499z"
|
42 |
+
/>
|
43 |
+
</g>
|
44 |
+
<g>
|
45 |
+
<polygon fill="#FFFFFF" points="735.213,235.544 735.213,241.871 720.386,241.871 711.356,228.327 711.356,241.871
|
46 |
+
701.911,241.871 695.518,235.479 695.518,201.596 701.911,195.205 711.356,195.205 711.356,207.706 720.36,195.205
|
47 |
+
728.111,195.205 734.451,201.544 722.461,217.146 "/>
|
48 |
+
</g>
|
49 |
+
<g>
|
50 |
+
<path fill="#FFFFFF" d="M779.546,226.588c0,4.89-1.947,8.88-5.793,11.859c-3.682,2.843-8.646,4.288-14.743,4.288
|
51 |
+
c-3.411,0-6.47-0.338-9.093-1.008c-2.557-0.648-4.977-1.48-7.185-2.45l-0.416-0.179v-10.587h7.973
|
52 |
+
c0.674,0.338,1.361,0.64,2.059,0.905c2.315,0.869,4.572,1.315,6.718,1.315c0.515,0,1.226-0.059,2.133-0.178
|
53 |
+
c0.963-0.129,1.503-0.313,1.784-0.446l0.053-0.026c0.457-0.194,0.831-0.465,1.139-0.813c0.056-0.067,0.234-0.268,0.234-0.888
|
54 |
+
c0-0.415-0.121-0.663-0.452-0.928c-0.595-0.477-1.344-0.833-2.202-1.058c-1.411-0.37-2.932-0.734-4.531-1.064
|
55 |
+
c-1.728-0.359-3.365-0.807-4.865-1.323c-3.696-1.304-6.413-3.132-8.086-5.432c-1.696-2.324-2.549-5.217-2.549-8.607
|
56 |
+
c0-4.667,1.992-8.489,5.916-11.361c3.718-2.722,8.381-4.102,13.849-4.102c2.659,0,5.341,0.277,7.973,0.813
|
57 |
+
c2.63,0.539,5.037,1.287,7.138,2.223l0.331,0.181l-0.018,10.035h-8.612c-0.025-0.009-0.049-0.022-0.079-0.034
|
58 |
+
c-1.998-0.824-4.086-1.242-6.186-1.242c-0.805,0-1.521,0.057-2.135,0.164c-0.56,0.101-1.168,0.305-1.814,0.606
|
59 |
+
c-0.378,0.17-0.694,0.424-0.971,0.765c-0.178,0.223-0.252,0.42-0.252,0.672c0,0.516,0.151,0.753,0.381,0.941
|
60 |
+
c0.179,0.145,0.973,0.681,3.59,1.286c1.42,0.326,2.783,0.644,4.108,0.946c1.395,0.317,2.896,0.764,4.47,1.319
|
61 |
+
c3.312,1.199,5.845,2.87,7.525,4.966C778.665,220.323,779.546,223.164,779.546,226.588z"/>
|
62 |
+
</g>
|
63 |
+
<path fill="#FFFFFF" d="M449.788,201.655v21.8c0,5.833-1.757,10.444-5.225,13.688c-3.412,3.198-8.388,4.818-14.78,4.818
|
64 |
+
c-6.201,0-11.117-1.584-14.595-4.708c-3.569-3.207-5.38-7.837-5.38-13.771v-21.828l6.395-6.387h9.447v27.053
|
65 |
+
c0,2.771,0.567,4.091,1.049,4.711c0.19,0.257,0.789,1.027,3.085,1.027c2.278,0,2.913-0.768,3.128-1.018
|
66 |
+
c0.383-0.475,1.038-1.708,1.038-4.721v-27.053h9.445L449.788,201.655z"/>
|
67 |
+
<polygon fill="#FFFFFF" points="384.683,208.295 384.683,214.884 398.705,214.884 398.705,228.642 384.683,228.642
|
68 |
+
384.683,242.628 375.005,242.628 368.419,236.037 368.419,201.122 375.005,194.54 395.905,194.54 402.496,201.122
|
69 |
+
402.496,208.295 "/>
|
70 |
+
</g>
|
71 |
+
</g>
|
72 |
+
<g>
|
73 |
+
<polygon fill="#FFFFFF" points="263.001,232.068 269.6,238.664 269.6,245.867 251.764,245.867 251.764,252.465 265.805,252.465
|
74 |
+
265.805,266.243 251.764,266.243 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 "/>
|
75 |
+
<path fill="#FFFFFF" d="M310.474,163.353c-0.767-0.464-1.532-0.929-2.321-1.393c-3.913-2.239-8.008-4.337-12.206-6.273
|
76 |
+
c-1.048-0.484-2.098-0.949-3.126-1.413c-1.089-0.464-2.159-0.928-3.207-1.371c-0.243-0.122-0.505-0.223-0.767-0.323l-0.808-0.343
|
77 |
+
c-0.545-0.201-1.069-0.423-1.593-0.646c-0.525-0.2-1.048-0.402-1.553-0.624c-0.546-0.202-1.089-0.404-1.615-0.606
|
78 |
+
c-2.057-0.807-4.175-1.553-6.173-2.279c-2.118-0.707-4.096-1.392-5.952-2.018c-0.887-0.302-1.895-0.604-2.825-0.908
|
79 |
+
c-0.929-0.281-1.815-0.544-2.662-0.826c-0.423-0.122-0.847-0.264-1.251-0.384c-0.201-0.061-0.403-0.121-0.604-0.182
|
80 |
+
c-0.223-0.06-0.424-0.122-0.646-0.182c-0.828-0.242-1.614-0.464-2.36-0.686c-0.766-0.223-1.474-0.423-2.118-0.605
|
81 |
+
c-0.727-0.182-1.374-0.363-1.998-0.545c-0.604-0.162-1.17-0.302-1.694-0.443c-0.263-0.062-0.504-0.143-0.747-0.202
|
82 |
+
c-0.242-0.062-0.485-0.123-0.705-0.162c-1.817-0.464-2.744-0.686-2.744-0.686h-0.282c0,0-0.928,0.222-2.725,0.686
|
83 |
+
c-0.242,0.039-0.484,0.1-0.725,0.162c-0.242,0.059-0.485,0.14-0.747,0.202c-0.525,0.141-1.089,0.281-1.696,0.443
|
84 |
+
c-0.625,0.182-1.271,0.363-1.976,0.545c-0.667,0.182-1.371,0.383-2.118,0.605c-0.747,0.222-1.554,0.443-2.381,0.686
|
85 |
+
c-0.202,0.06-0.424,0.122-0.645,0.182c-0.204,0.061-0.404,0.121-0.605,0.182c-0.404,0.12-0.827,0.262-1.251,0.384
|
86 |
+
c-0.847,0.281-1.735,0.544-2.664,0.826c-0.928,0.304-1.937,0.606-2.826,0.908c-1.833,0.626-3.831,1.311-5.93,2.018
|
87 |
+
c-1.998,0.726-4.116,1.472-6.194,2.279c-0.524,0.202-1.069,0.405-1.593,0.606c-0.525,0.222-1.029,0.424-1.575,0.624
|
88 |
+
c-0.524,0.223-1.048,0.445-1.592,0.646c-0.264,0.122-0.526,0.223-0.808,0.343c-0.262,0.101-0.524,0.202-0.767,0.323
|
89 |
+
c-1.05,0.443-2.118,0.907-3.208,1.371c-1.03,0.464-2.079,0.929-3.148,1.413c-4.156,1.937-8.272,4.035-12.186,6.273
|
90 |
+
c-1.008,0.585-1.998,1.191-2.985,1.796l-22.718,51.143c0.565,6.839,1.454,13.899,2.705,21.063
|
91 |
+
c1.271,7.242,2.904,14.588,4.963,21.951c2.038,7.342,4.458,14.706,7.282,21.95c0.343,0.908,0.707,1.795,1.07,2.703
|
92 |
+
c0.362,0.888,0.727,1.797,1.09,2.683c0.767,1.815,1.513,3.592,2.32,5.367c1.572,3.55,3.247,7.041,4.982,10.491
|
93 |
+
c3.489,6.898,7.284,13.555,11.258,19.891c0.686,1.07,1.352,2.117,2.036,3.168l45.455,25.582l45.576-25.663
|
94 |
+
c0.685-1.029,1.332-2.057,1.998-3.087c3.973-6.336,7.766-12.992,11.257-19.891c1.734-3.45,3.408-6.941,4.983-10.491
|
95 |
+
c0.806-1.775,1.553-3.552,2.319-5.367c0.384-0.886,0.727-1.795,1.088-2.683c0.365-0.908,0.728-1.795,1.09-2.703
|
96 |
+
c2.806-7.244,5.247-14.608,7.285-21.95c2.037-7.362,3.672-14.708,4.943-21.951c1.19-6.859,2.078-13.617,2.642-20.174
|
97 |
+
L310.474,163.353z M223.198,192.828c0-15.112,12.307-27.417,27.417-27.417c15.132,0,27.418,12.306,27.418,27.417v11.923
|
98 |
+
l-11.843-2.482v-9.44c0-8.595-6.98-15.576-15.575-15.576c-8.574,0-15.554,6.981-15.554,15.576v9.44l-11.863,2.482V192.828z
|
99 |
+
M290.722,259.563c-0.707,3.414-1.594,6.822-2.603,10.172c-0.504,1.693-1.028,3.348-1.594,5.002
|
100 |
+
c-0.545,1.655-1.07,3.268-1.655,4.883c-2.259,6.397-4.578,12.366-6.515,17.47c-0.485,1.292-0.95,2.521-1.393,3.674
|
101 |
+
c-0.485,1.168-1.332,2.278-2.4,3.327c-1.111,1.027-2.401,1.997-3.976,2.905c-0.382,0.222-0.747,0.443-1.109,0.667
|
102 |
+
c-0.424,0.203-0.848,0.423-1.251,0.624c-0.767,0.426-1.674,0.808-2.522,1.191c-0.786,0.363-1.775,0.725-2.603,1.048
|
103 |
+
c-0.848,0.343-1.856,0.645-2.662,0.929c-0.869,0.303-1.615,0.564-2.401,0.808c-0.848,0.241-1.633,0.463-2.32,0.666
|
104 |
+
c-1.291,0.402-2.724,0.706-3.531,0.926c-0.848,0.204-1.291,0.305-1.291,0.305h-0.565c0,0-0.424-0.101-1.271-0.305
|
105 |
+
c-0.806-0.22-2.238-0.523-3.531-0.926c-0.705-0.203-1.471-0.425-2.319-0.666c-0.807-0.243-1.534-0.505-2.401-0.808
|
106 |
+
c-0.827-0.284-1.836-0.586-2.683-0.929c-0.806-0.323-1.795-0.685-2.583-1.048c-0.848-0.384-1.753-0.766-2.522-1.191
|
107 |
+
c-0.423-0.201-0.825-0.421-1.25-0.624c-0.364-0.224-0.747-0.445-1.131-0.667c-1.574-0.908-2.864-1.878-3.954-2.905
|
108 |
+
c-1.089-1.049-1.937-2.159-2.399-3.327c-0.445-1.152-0.908-2.382-1.393-3.674c-1.937-5.104-4.257-11.072-6.517-17.47
|
109 |
+
c-0.583-1.615-1.129-3.228-1.673-4.883c-0.546-1.654-1.089-3.309-1.593-5.002c-0.99-3.35-1.897-6.758-2.583-10.172
|
110 |
+
c-1.412-6.836-1.978-13.656-1.716-20.052c0.242-6.395,1.231-12.367,2.341-17.491c0.565-2.562,1.17-4.901,1.735-6.98
|
111 |
+
c0.605-2.078,4.701-3.894,10.127-5.386c0.707-0.183,1.393-0.364,2.058-0.545c0.304-0.081,0.705-0.182,1.129-0.263
|
112 |
+
c0.403-0.08,0.808-0.162,1.191-0.243c1.573-0.342,3.026-0.645,4.398-0.948l0.524-0.101l0.626-0.101
|
113 |
+
c0.402-0.081,0.806-0.142,1.21-0.223c0.786-0.122,1.553-0.241,2.28-0.384c0.727-0.121,1.432-0.242,2.079-0.343
|
114 |
+
c0.323-0.06,0.686-0.122,1.089-0.161c0.363-0.06,0.725-0.101,1.09-0.162c1.432-0.201,2.684-0.362,3.751-0.524
|
115 |
+
c1.293-0.162,2.361-0.283,3.229-0.384c1.756-0.202,2.663-0.323,2.663-0.323h0.565c0,0,0.908,0.121,2.664,0.323
|
116 |
+
c0.867,0.101,1.957,0.222,3.227,0.384c1.089,0.162,2.341,0.323,3.773,0.524c0.342,0.061,0.706,0.102,1.089,0.162
|
117 |
+
c0.384,0.04,0.767,0.102,1.07,0.161c0.666,0.101,1.351,0.222,2.077,0.343c0.727,0.143,1.493,0.262,2.301,0.384
|
118 |
+
c0.382,0.081,0.786,0.142,1.209,0.223l0.626,0.101l0.504,0.101c1.371,0.303,2.845,0.606,4.398,0.948
|
119 |
+
c0.403,0.081,0.807,0.163,1.189,0.243c0.424,0.081,0.827,0.182,1.131,0.263c0.686,0.181,1.372,0.362,2.076,0.545
|
120 |
+
c5.428,1.492,9.503,3.308,10.129,5.386c0.565,2.079,1.17,4.418,1.714,6.98c1.131,5.125,2.118,11.096,2.34,17.491
|
121 |
+
C292.68,245.907,292.136,252.728,290.722,259.563z"/>
|
122 |
+
<g>
|
123 |
+
<g>
|
124 |
+
<polygon fill="#2E3744" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
|
125 |
+
251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
|
126 |
+
269.6,245.867 "/>
|
127 |
+
<polygon fill="#FFFFFF" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
|
128 |
+
251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
|
129 |
+
269.6,245.867 "/>
|
130 |
+
</g>
|
131 |
+
</g>
|
132 |
+
</g>
|
133 |
+
</g>
|
134 |
+
<g>
|
135 |
+
<path fill="#FFFFFF" d="M384.918,292.552c-0.464-0.806-1.21-1.555-2.239-2.18c-1.008-0.645-2.36-1.211-4.034-1.713
|
136 |
+
c-1.675-0.485-2.887-1.01-3.611-1.535c-0.748-0.525-1.109-1.19-1.109-1.977c0-0.947,0.342-1.675,1.028-2.198
|
137 |
+
c0.666-0.526,1.613-0.787,2.845-0.787c1.311,0,2.319,0.323,3.026,0.968c0.706,0.625,1.048,1.513,1.048,2.642h3.733
|
138 |
+
c0-1.249-0.323-2.38-0.989-3.408c-0.686-1.009-1.594-1.797-2.784-2.359c-1.171-0.545-2.502-0.828-4.015-0.828
|
139 |
+
c-2.26,0-4.097,0.563-5.509,1.693c-1.411,1.131-2.118,2.544-2.118,4.3c0,1.977,0.969,3.589,2.945,4.82
|
140 |
+
c1.009,0.646,2.401,1.232,4.135,1.757c1.736,0.524,2.948,1.028,3.612,1.553c0.665,0.505,0.988,1.229,0.988,2.178
|
141 |
+
c0,0.868-0.323,1.572-0.967,2.101c-0.665,0.522-1.636,0.805-2.945,0.805c-1.514,0-2.664-0.344-3.491-1.01
|
142 |
+
c-0.806-0.685-1.21-1.634-1.21-2.845h-3.753c0,1.353,0.363,2.521,1.09,3.552c0.727,1.01,1.755,1.815,3.068,2.381
|
143 |
+
c1.31,0.585,2.742,0.868,4.297,0.868c2.359,0,4.235-0.524,5.607-1.596c1.373-1.048,2.059-2.479,2.059-4.274
|
144 |
+
C385.625,294.346,385.382,293.379,384.918,292.552z"/>
|
145 |
+
<path fill="#FFFFFF"
|
146 |
+
d="M431.098,298.038v-6.635h8.856v-2.949h-8.856v-5.969h10.25v-3.007h-14.002v21.566h14.102v-3.007H431.098z"
|
147 |
+
/>
|
148 |
+
<path fill="#FFFFFF" d="M494.245,297.313c-0.728,0.667-1.835,1.009-3.308,1.009c-1.617,0-2.825-0.627-3.673-1.855
|
149 |
+
c-0.828-1.211-1.251-3.006-1.251-5.327v-1.915c0.02-2.303,0.464-4.056,1.352-5.246c0.866-1.191,2.118-1.777,3.753-1.777
|
150 |
+
c1.39,0,2.46,0.344,3.188,1.03c0.724,0.686,1.169,1.796,1.352,3.348h3.732c-0.245-2.359-1.091-4.176-2.542-5.465
|
151 |
+
c-1.434-1.293-3.35-1.938-5.73-1.938c-1.774,0-3.329,0.424-4.682,1.252c-1.353,0.846-2.379,2.036-3.106,3.592
|
152 |
+
c-0.705,1.552-1.069,3.348-1.069,5.387v1.997c0.021,1.994,0.385,3.73,1.112,5.244c0.704,1.494,1.711,2.645,3.025,3.47
|
153 |
+
c1.31,0.806,2.823,1.211,4.539,1.211c2.461,0,4.416-0.646,5.911-1.919c1.472-1.288,2.319-3.084,2.542-5.387h-3.732
|
154 |
+
C495.455,295.558,494.992,296.668,494.245,297.313z"/>
|
155 |
+
<path fill="#FFFFFF" d="M553.217,279.479v14.304c0,3.045-1.453,4.559-4.34,4.559c-1.41,0-2.479-0.381-3.226-1.131
|
156 |
+
c-0.729-0.764-1.089-1.875-1.089-3.309v-14.423h-3.735v14.383c0,2.34,0.728,4.177,2.181,5.489c1.45,1.332,3.409,1.978,5.869,1.978
|
157 |
+
c2.443,0,4.398-0.665,5.872-1.998c1.474-1.332,2.197-3.146,2.197-5.447v-14.404H553.217z"/>
|
158 |
+
<path fill="#FFFFFF" d="M610.792,291.866c1.252-0.526,2.222-1.271,2.908-2.241c0.704-0.989,1.049-2.178,1.049-3.632
|
159 |
+
c0-2.117-0.665-3.732-2.018-4.841c-1.354-1.129-3.289-1.674-5.771-1.674h-7.584v21.566h3.75v-8.291h4.178l4.316,8.291h4.016
|
160 |
+
v-0.201L610.792,291.866z M606.98,289.728h-3.854v-7.242h3.954c1.294,0.02,2.28,0.363,2.946,0.987
|
161 |
+
c0.646,0.625,0.99,1.535,0.99,2.684c0,1.109-0.364,1.976-1.071,2.602C609.221,289.406,608.231,289.728,606.98,289.728z"/>
|
162 |
+
<path fill="#FFFFFF" d="M656.955,279.479v21.566h3.731v-21.566H656.955z"/>
|
163 |
+
<path fill="#FFFFFF" d="M701.783,279.479v3.007h6.656v18.56h3.713v-18.56h6.738v-3.007H701.783z"/>
|
164 |
+
<path fill="#FFFFFF" d="M772.374,279.479l-4.942,10.21l-4.963-10.21h-4.176l7.241,13.618v7.948h3.772v-7.948l7.224-13.618H772.374
|
165 |
+
z"/>
|
166 |
+
</g>
|
167 |
+
</g>
|
168 |
+
</svg>
|
admin/css/images/vertbg.png
ADDED
Binary file
|
admin/templates/metabox_offers_1.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
?>
|
3 |
+
<div class="offer-container">
|
4 |
+
<div class="logo">
|
5 |
+
<img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
|
6 |
+
</div>
|
7 |
+
<div class="heading">
|
8 |
+
<h2>Love this free plugin?</h2>
|
9 |
+
</div>
|
10 |
+
<div class="text">
|
11 |
+
<p>Get total WordPress security.</p>
|
12 |
+
<p>Try our new all-in-one premium package.</p>
|
13 |
+
<p class="price">From $6.67/month</p>
|
14 |
+
</div>
|
15 |
+
<div class="cta">
|
16 |
+
<div class="action">
|
17 |
+
<a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/1/#pricing">FREE TRIAL</a>
|
18 |
+
</div>
|
19 |
+
<div class="cta-text">
|
20 |
+
<p>30-day free trail.<br>No credit card required.</p>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
</div>
|
admin/templates/metabox_offers_2.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
?>
|
3 |
+
<div class="offer-container">
|
4 |
+
<div class="logo">
|
5 |
+
<img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
|
6 |
+
</div>
|
7 |
+
<div class="heading">
|
8 |
+
<h2>Love this plugin? Want more security?</h2>
|
9 |
+
</div>
|
10 |
+
<div class="text">
|
11 |
+
<p>Upgrade to our premium WordPress security package.</p>
|
12 |
+
<p class="price">From $6.67/month</p>
|
13 |
+
</div>
|
14 |
+
<div class="cta">
|
15 |
+
<div class="action">
|
16 |
+
<a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/2/#pricing">FREE TRIAL</a>
|
17 |
+
</div>
|
18 |
+
<div class="cta-text">
|
19 |
+
<p>30-day free trail.<br>No credit card required.</p>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
|
23 |
+
</div>
|
admin/templates/metabox_offers_3.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
?>
|
3 |
+
<div class="offer-container">
|
4 |
+
<div class="logo">
|
5 |
+
<img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
|
6 |
+
</div>
|
7 |
+
<div class="heading">
|
8 |
+
<h2>Worried about WordPress security?</h2>
|
9 |
+
</div>
|
10 |
+
<div class="text">
|
11 |
+
<p>Upgrade to our premium all-in-one package today.</p>
|
12 |
+
<p class="price">From $6.67/month</p>
|
13 |
+
</div>
|
14 |
+
<div class="cta">
|
15 |
+
<div class="action">
|
16 |
+
<a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/3/#pricing">FREE TRIAL</a>
|
17 |
+
</div>
|
18 |
+
<div class="cta-text">
|
19 |
+
<p>30-day free trail.<br>No credit card required.</p>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
|
23 |
+
</div>
|
bootstrap.php
CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
9 |
die;
|
10 |
}
|
11 |
define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
12 |
-
define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.3.
|
13 |
|
14 |
// Include the autoloader so we can dynamically include the classes.
|
15 |
require_once( STOP_USER_ENUMERATION_PLUGIN_DIR . 'includes/autoloader.php' );
|
9 |
die;
|
10 |
}
|
11 |
define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
12 |
+
define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.3.23' );
|
13 |
|
14 |
// Include the autoloader so we can dynamically include the classes.
|
15 |
require_once( STOP_USER_ENUMERATION_PLUGIN_DIR . 'includes/autoloader.php' );
|
includes/class-core.php
CHANGED
@@ -71,24 +71,6 @@ class Core {
|
|
71 |
$this->settings_pages();
|
72 |
$this->define_public_hooks();
|
73 |
|
74 |
-
add_action( 'admin_notices', function () {
|
75 |
-
echo "<!-- debug -->";
|
76 |
-
$page = get_current_screen()->base;
|
77 |
-
$display_on_pages = array(
|
78 |
-
'dashboard',
|
79 |
-
'plugins',
|
80 |
-
'tools',
|
81 |
-
'options-general',
|
82 |
-
'settings_page_widget-for-eventbrite-api-settings',
|
83 |
-
);
|
84 |
-
if ( ! in_array( $page, $display_on_pages ) ) {
|
85 |
-
return;
|
86 |
-
}
|
87 |
-
|
88 |
-
} );
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
}
|
93 |
|
94 |
/**
|
@@ -148,7 +130,9 @@ class Core {
|
|
148 |
*/
|
149 |
|
150 |
private function settings_pages() {
|
|
|
151 |
$settings = new Admin_Settings( $this->get_plugin_name(), $this->get_version(), $this->freemius );
|
|
|
152 |
$this->loader->add_action( 'admin_menu', $settings, 'settings_setup' );
|
153 |
}
|
154 |
|
71 |
$this->settings_pages();
|
72 |
$this->define_public_hooks();
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
75 |
|
76 |
/**
|
130 |
*/
|
131 |
|
132 |
private function settings_pages() {
|
133 |
+
|
134 |
$settings = new Admin_Settings( $this->get_plugin_name(), $this->get_version(), $this->freemius );
|
135 |
+
$this->loader->add_action( 'admin_enqueue_scripts', $settings, 'enqueue_styles' );
|
136 |
$this->loader->add_action( 'admin_menu', $settings, 'settings_setup' );
|
137 |
}
|
138 |
|
includes/class-uninstall.php
CHANGED
@@ -18,7 +18,6 @@ class Uninstall {
|
|
18 |
*/
|
19 |
public static function uninstall() {
|
20 |
|
21 |
-
// @TODO check
|
22 |
delete_option( 'stop-user-enumeration' );
|
23 |
|
24 |
}
|
18 |
*/
|
19 |
public static function uninstall() {
|
20 |
|
|
|
21 |
delete_option( 'stop-user-enumeration' );
|
22 |
|
23 |
}
|
languages/stop-user-enumeration.pot
CHANGED
@@ -29,19 +29,23 @@ msgstr ""
|
|
29 |
msgid "Stop User Enumeration"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: src/admin/class-admin-settings.php:
|
33 |
msgid "Information"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: src/admin/class-admin-settings.php:
|
37 |
msgid "Options"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: src/admin/class-admin-settings.php:
|
|
|
|
|
|
|
|
|
41 |
msgid "About this Plugin"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: src/admin/class-admin-settings.php:
|
45 |
msgid ""
|
46 |
"<p>Stop User Enumeration detects attempts by malicious scanners to identify your users</p>\n"
|
47 |
" <p>If a bot or user is caught scanning for user names they are denied access and their IP is\n"
|
@@ -53,37 +57,37 @@ msgid ""
|
|
53 |
" href=\"https://www.fail2ban.org\" target=\"_blank\">fail2ban</a></p>"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: src/admin/class-admin-settings.php:
|
57 |
msgid "Support"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: src/admin/class-admin-settings.php:
|
61 |
msgid ""
|
62 |
"<a class=\"button-secondary\"\n"
|
63 |
" href=\"https://wordpress.org/support/plugin/stop-user-enumeration/\" target=\"_blank\">WordPress.org support forum</a>"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: src/admin/class-admin-settings.php:
|
67 |
msgid "Stop REST API User calls"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: src/admin/class-admin-settings.php:
|
71 |
msgid "WordPress allows anyone to find users by API call, by checking this box the calls will be restricted to logged in users only. Only untick this box if you need to allow unfettered API access to users"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: src/admin/class-admin-settings.php:
|
75 |
msgid "log attempts to AUTH LOG"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: src/admin/class-admin-settings.php:
|
79 |
msgid "Leave this ticked if you are using %1$sFail2Ban%2$s on your VPS to block attempts at enumeration.%3$s If you are not running Fail2Ban or on a shared host this does not need to be ticked, however it normally will not cause a problem being ticked."
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: src/admin/class-admin-settings.php:
|
83 |
msgid "Remove numbers from comment authors"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: src/admin/class-admin-settings.php:
|
87 |
msgid "This plugin uses jQuery 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"
|
88 |
msgstr ""
|
89 |
|
29 |
msgid "Stop User Enumeration"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: src/admin/class-admin-settings.php:107
|
33 |
msgid "Information"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: src/admin/class-admin-settings.php:115
|
37 |
msgid "Options"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: src/admin/class-admin-settings.php:123
|
41 |
+
msgid "Offers"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: src/admin/class-admin-settings.php:143
|
45 |
msgid "About this Plugin"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: src/admin/class-admin-settings.php:145
|
49 |
msgid ""
|
50 |
"<p>Stop User Enumeration detects attempts by malicious scanners to identify your users</p>\n"
|
51 |
" <p>If a bot or user is caught scanning for user names they are denied access and their IP is\n"
|
57 |
" href=\"https://www.fail2ban.org\" target=\"_blank\">fail2ban</a></p>"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: src/admin/class-admin-settings.php:156
|
61 |
msgid "Support"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: src/admin/class-admin-settings.php:158
|
65 |
msgid ""
|
66 |
"<a class=\"button-secondary\"\n"
|
67 |
" href=\"https://wordpress.org/support/plugin/stop-user-enumeration/\" target=\"_blank\">WordPress.org support forum</a>"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: src/admin/class-admin-settings.php:199
|
71 |
msgid "Stop REST API User calls"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: src/admin/class-admin-settings.php:206
|
75 |
msgid "WordPress allows anyone to find users by API call, by checking this box the calls will be restricted to logged in users only. Only untick this box if you need to allow unfettered API access to users"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: src/admin/class-admin-settings.php:211
|
79 |
msgid "log attempts to AUTH LOG"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: src/admin/class-admin-settings.php:218
|
83 |
msgid "Leave this ticked if you are using %1$sFail2Ban%2$s on your VPS to block attempts at enumeration.%3$s If you are not running Fail2Ban or on a shared host this does not need to be ticked, however it normally will not cause a problem being ticked."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: src/admin/class-admin-settings.php:225
|
87 |
msgid "Remove numbers from comment authors"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: src/admin/class-admin-settings.php:232
|
91 |
msgid "This plugin uses jQuery 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"
|
92 |
msgstr ""
|
93 |
|
readme.txt
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
=== Stop User Enumeration ===
|
2 |
Contributors: fullworks
|
3 |
Tags: User Enumeration, Security, WPSCAN, fail2ban,
|
4 |
-
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4EMTVFMKXRRYY
|
5 |
Requires at least: 3.4
|
6 |
Requires PHP: 5.6
|
7 |
-
Tested up to: 5.2.
|
8 |
-
Stable tag: 1.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -58,6 +57,9 @@ No, the plugin automatically detects [Fullworks Firewall](https://wordpress.org/
|
|
58 |
|
59 |
|
60 |
== Changelog ==
|
|
|
|
|
|
|
61 |
= 1.3.22 =
|
62 |
* Moved support link to settings page to reduce menu clutter
|
63 |
* Updated Freemius library to 2.3.0
|
1 |
=== Stop User Enumeration ===
|
2 |
Contributors: fullworks
|
3 |
Tags: User Enumeration, Security, WPSCAN, fail2ban,
|
|
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.6
|
6 |
+
Tested up to: 5.2.3
|
7 |
+
Stable tag: 1.3.23
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
57 |
|
58 |
|
59 |
== Changelog ==
|
60 |
+
= 1.3.23 =
|
61 |
+
* Removed donate link
|
62 |
+
|
63 |
= 1.3.22 =
|
64 |
* Moved support link to settings page to reduce menu clutter
|
65 |
* Updated Freemius library to 2.3.0
|
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.23
|
7 |
Author: Fullworks
|
8 |
Text Domain: stop-user-enumeration
|
9 |
Domain Path: /languages
|