Limit Login Attempts - Version 1.4

Version Description

Download this release

Release Info

Developer johanee
Plugin Icon wp plugin Limit Login Attempts
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.2 to 1.4

limit-login-attempts-cs_CZ.mo ADDED
Binary file
limit-login-attempts-cs_CZ.po ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: limit-login-attempts 1.3\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n"
5
+ "POT-Creation-Date: 2009-01-28 17:17+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Jakub Jedelsky <jakub.jedelsky@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n>=2 && n<=4 ? 1 : 2;\n"
13
+ "X-Poedit-Language: Czech\n"
14
+ "X-Poedit-Country: Czech Republic\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+
17
+ #: limit-login-attempts.php:372
18
+ #, php-format
19
+ msgid "%d hour"
20
+ msgid_plural "%d hours"
21
+ msgstr[0] "%d hodina"
22
+ msgstr[1] "%d hodin"
23
+ msgstr[2] "%d hodin"
24
+
25
+ #: limit-login-attempts.php:378
26
+ #, php-format
27
+ msgid "%d minute"
28
+ msgid_plural "%d minutes"
29
+ msgstr[0] "%d minuta"
30
+ msgstr[1] "%d minuty"
31
+ msgstr[2] "%d minut"
32
+
33
+ #: limit-login-attempts.php:381
34
+ #, php-format
35
+ msgid "[%s] Too many failed login attempts"
36
+ msgstr "[%s] Příliš mnoho chybných pokusů o přihlášení"
37
+
38
+ #: limit-login-attempts.php:383
39
+ #, php-format
40
+ msgid "%d failed login attempts (%d lockout(s)) from IP: %s"
41
+ msgstr "%d špatných pokusů o přihlášení (zablokováno %d krát) z IP: %s"
42
+
43
+ #: limit-login-attempts.php:387
44
+ #, php-format
45
+ msgid "Last user attempted: %s"
46
+ msgstr "Poslední chybující uživatel: %s"
47
+
48
+ #: limit-login-attempts.php:390
49
+ #, php-format
50
+ msgid "IP was blocked for %s"
51
+ msgstr "IP adresa byla zablokována na %s"
52
+
53
+ #: limit-login-attempts.php:445
54
+ msgid "<strong>ERROR</strong>: Too many failed login attempts."
55
+ msgstr "<strong>CHYBA:</strong> Příliš mnoho chybných pokusů o přihlášení"
56
+
57
+ #: limit-login-attempts.php:449
58
+ msgid "Please try again later."
59
+ msgstr "Prosím, opakujte akci později."
60
+
61
+ #: limit-login-attempts.php:456
62
+ #, php-format
63
+ msgid "Please try again in %d hour."
64
+ msgid_plural "Please try again in %d hours."
65
+ msgstr[0] "Prosím, opakujte akci za %d hodinu."
66
+ msgstr[1] "Prosím, opakujte akci za %d hodiny."
67
+ msgstr[2] "Prosím, opakujte akci za %d hodin."
68
+
69
+ #: limit-login-attempts.php:458
70
+ #, php-format
71
+ msgid "Please try again in %d minute."
72
+ msgid_plural "Please try again in %d minutes."
73
+ msgstr[0] "Prosím, opakujte akci za %d minutu."
74
+ msgstr[1] "Prosím, opakujte akci za %d minuty."
75
+ msgstr[2] "Prosím, opakujte akci za %d minut."
76
+
77
+ #: limit-login-attempts.php:487
78
+ #, php-format
79
+ msgid "<strong>%d</strong> attempt remaining."
80
+ msgid_plural "<strong>%d</strong> attempts remaining."
81
+ msgstr[0] "<strong>%d</strong> zbývající pokusů."
82
+ msgstr[1] "<strong>%d</strong> zbývající pokusy."
83
+ msgstr[2] "<strong>%d</strong> zbývajících pokusů."
84
+
85
+ #: limit-login-attempts.php:551
86
+ msgid "<strong>ERROR</strong>: Incorrect username or password."
87
+ msgstr "<strong>CHYBA:</strong> Špatné uživatelské jméno nebo heslo."
88
+
89
+ #: limit-login-attempts.php:714
90
+ msgid "IP|Internet address"
91
+ msgstr "IP|Internetové adresy"
92
+
93
+ #: limit-login-attempts.php:714
94
+ msgid "Tried to log in as"
95
+ msgstr "Pokus o přihlášení jako"
96
+
97
+ #: limit-login-attempts.php:719
98
+ #, php-format
99
+ msgid "%d lockout"
100
+ msgid_plural "%d lockouts"
101
+ msgstr[0] "%d uzamčení"
102
+ msgstr[1] "%d uzamčení"
103
+ msgstr[2] "%d uzamčení"
104
+
105
+ #: limit-login-attempts.php:743
106
+ msgid "Cleared IP log"
107
+ msgstr "IP log smazán"
108
+
109
+ #: limit-login-attempts.php:751
110
+ msgid "Reset lockout count"
111
+ msgstr "aktuální blokování bylo resetováno"
112
+
113
+ #: limit-login-attempts.php:759
114
+ msgid "Cleared current lockouts"
115
+ msgstr "Aktuální blokování bylo promazáno"
116
+
117
+ #: limit-login-attempts.php:788
118
+ msgid "Options changed"
119
+ msgstr "Nastavení změněno"
120
+
121
+ #: limit-login-attempts.php:799
122
+ msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later"
123
+ msgstr "<strong>POZNÁMKA:</strong> Funguje pouze ve verzi Wordpress 2.7 a vyšší"
124
+
125
+ #: limit-login-attempts.php:815
126
+ #, php-format
127
+ msgid "It appears the site is reached directly (from your IP: %s)"
128
+ msgstr "Zdá se, že web je přímo dosažitelný (z Vaší IP: %s)"
129
+
130
+ #: limit-login-attempts.php:817
131
+ #, php-format
132
+ msgid "It appears the site is reached through a proxy server (proxy IP: %s, your IP: %s)"
133
+ msgstr "Zdá se, že web je dosažitelný přes proxy server (IP proxy: %s, Vaše IP: %s)"
134
+
135
+ #: limit-login-attempts.php:825
136
+ #, php-format
137
+ msgid "<strong>Current setting appears to be invalid</strong>. Please make sure it is correct. Further information can be found <a href=\"%s\" title=\"FAQ\">here</a>"
138
+ msgstr "<strong>Aktuální nastavení je zřejmě chybné.</strong> Prosím, ujistěte se o jeho správnosti. Další informace jsou k nalezení <a href=\"%s\" title=\"FAQ\">zde</a> (anglicky)."
139
+
140
+ #: limit-login-attempts.php:833
141
+ msgid "Limit Login Attempts Settings"
142
+ msgstr "Nastavení Limit Login Attempts"
143
+
144
+ #: limit-login-attempts.php:834
145
+ msgid "Statistics"
146
+ msgstr "Statistiky"
147
+
148
+ #: limit-login-attempts.php:838
149
+ msgid "Total lockouts"
150
+ msgstr "Celkem blokováno"
151
+
152
+ #: limit-login-attempts.php:841
153
+ msgid "Reset Counter"
154
+ msgstr "Reset počítadla"
155
+
156
+ #: limit-login-attempts.php:842
157
+ #, php-format
158
+ msgid "%d lockout since last reset"
159
+ msgid_plural "%d lockouts since last reset"
160
+ msgstr[0] "%d blokování od posledního resetu"
161
+ msgstr[1] "%d blokování od posledního resetu"
162
+ msgstr[2] "%d blokování od posledního resetu"
163
+
164
+ #: limit-login-attempts.php:843
165
+ msgid "No lockouts yet"
166
+ msgstr "Dosud nebylo nic blokováno"
167
+
168
+ #: limit-login-attempts.php:848
169
+ msgid "Active lockouts"
170
+ msgstr "Aktivní blokování"
171
+
172
+ #: limit-login-attempts.php:850
173
+ msgid "Restore Lockouts"
174
+ msgstr "Smazat blokování"
175
+
176
+ #: limit-login-attempts.php:851
177
+ #, php-format
178
+ msgid "%d IP is currently blocked from trying to log in"
179
+ msgstr "IP %d je aktuálně blokována z důvodu chybného přihlášení"
180
+
181
+ #: limit-login-attempts.php:857
182
+ msgid "Options"
183
+ msgstr "Nastavení"
184
+
185
+ #: limit-login-attempts.php:861
186
+ msgid "Lockout"
187
+ msgstr "Blokování"
188
+
189
+ #: limit-login-attempts.php:863
190
+ msgid "allowed retries"
191
+ msgstr "povolených pokusů"
192
+
193
+ #: limit-login-attempts.php:864
194
+ msgid "minutes lockout"
195
+ msgstr "minut blokován"
196
+
197
+ #: limit-login-attempts.php:865
198
+ msgid "lockouts increase lockout time to"
199
+ msgstr "- počet blokovaných pokusů, po kterém se zvýší čas blokování na"
200
+
201
+ #: limit-login-attempts.php:865
202
+ msgid "hours"
203
+ msgstr "hodin"
204
+
205
+ #: limit-login-attempts.php:866
206
+ msgid "hours until retries are reset"
207
+ msgstr "- počet hodin, po kterém jsou chybné pokusy o přihlášení resetovány"
208
+
209
+ #: limit-login-attempts.php:870
210
+ msgid "Site connection"
211
+ msgstr "Připojení webu"
212
+
213
+ #: limit-login-attempts.php:876
214
+ msgid "Direct connection"
215
+ msgstr "Přímé připojení"
216
+
217
+ #: limit-login-attempts.php:881
218
+ msgid "From behind a reversy proxy"
219
+ msgstr "Za proxy serverem"
220
+
221
+ #: limit-login-attempts.php:887
222
+ msgid "Handle cookie login"
223
+ msgstr "Pracovat s přihlašovacím cookie"
224
+
225
+ #: limit-login-attempts.php:889
226
+ msgid "Yes"
227
+ msgstr "Ano"
228
+
229
+ #: limit-login-attempts.php:889
230
+ msgid "No"
231
+ msgstr "Ne"
232
+
233
+ #: limit-login-attempts.php:894
234
+ msgid "Notify on lockout"
235
+ msgstr "Upozornění na blokování"
236
+
237
+ #: limit-login-attempts.php:896
238
+ msgid "Log IP"
239
+ msgstr "Logovat IP"
240
+
241
+ #: limit-login-attempts.php:897
242
+ msgid "Email to admin after"
243
+ msgstr "Poslat e-mail administrátorovi po"
244
+
245
+ #: limit-login-attempts.php:897
246
+ msgid "lockouts"
247
+ msgstr "pokusech"
248
+
249
+ #: limit-login-attempts.php:902
250
+ msgid "Change Options"
251
+ msgstr "Změnit nastavení"
252
+
253
+ #: limit-login-attempts.php:910
254
+ msgid "Lockout log"
255
+ msgstr "Log blokování"
256
+
257
+ #: limit-login-attempts.php:914
258
+ msgid "Clear Log"
259
+ msgstr "Smazat log"
260
+
261
+ #. Plugin Name of an extension
262
+ msgid "Limit Login Attempts"
263
+ msgstr "Limit Login Attempts"
264
+
265
+ #. Plugin URI of an extension
266
+ msgid "http://devel.kostdoktorn.se/limit-login-attempts"
267
+ msgstr "http://devel.kostdoktorn.se/limit-login-attempts"
268
+
269
+ # Popis rozšíření v seznamu pluginů - z nějakého důvodu nefunguje
270
+ #. Description of an extension
271
+ msgid "Limit rate of login attempts, including by way of cookies, for each IP."
272
+ msgstr "Omezení pokusů o přihlášení, mimo jiné prostřednictvím cookies, pro každou IP."
273
+
274
+ #. Author of an extension
275
+ msgid "Johan Eenfeldt"
276
+ msgstr "Johan Eenfeldt"
277
+
278
+ #. Author URI of an extension
279
+ msgid "http://devel.kostdoktorn.se"
280
+ msgstr "http://devel.kostdoktorn.se"
281
+
limit-login-attempts.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Limit rate of login attempts, including by way of cookies, for each IP.
6
  Author: Johan Eenfeldt
7
  Author URI: http://devel.kostdoktorn.se
8
- Version: 1.3.2
9
 
10
  Copyright 2008, 2009 Johan Eenfeldt
11
 
@@ -737,6 +737,11 @@ function limit_login_option_page() {
737
  if (!current_user_can('manage_options')) {
738
  wp_die('Sorry, but you do not have permissions to change settings.');
739
  }
 
 
 
 
 
740
 
741
  /* Should we clear log? */
742
  if (isset($_POST['clear_log'])) {
@@ -835,6 +840,7 @@ function limit_login_option_page() {
835
  <h2><?php echo __('Limit Login Attempts Settings','limit-login-attempts'); ?></h2>
836
  <h3><?php echo __('Statistics','limit-login-attempts'); ?></h3>
837
  <form action="options-general.php?page=limit-login-attempts" method="post">
 
838
  <table class="form-table">
839
  <tr>
840
  <th scope="row" valign="top"><?php echo __('Total lockouts','limit-login-attempts'); ?></th>
@@ -858,6 +864,7 @@ function limit_login_option_page() {
858
  </form>
859
  <h3><?php echo __('Options','limit-login-attempts'); ?></h3>
860
  <form action="options-general.php?page=limit-login-attempts" method="post">
 
861
  <table class="form-table">
862
  <tr>
863
  <th scope="row" valign="top"><?php echo __('Lockout','limit-login-attempts'); ?></th>
@@ -911,6 +918,7 @@ function limit_login_option_page() {
911
  ?>
912
  <h3><?php echo __('Lockout log','limit-login-attempts'); ?></h3>
913
  <form action="options-general.php?page=limit-login-attempts" method="post">
 
914
  <input type="hidden" value="true" name="clear_log" />
915
  <p class="submit">
916
  <input name="submit" value="<?php echo __('Clear Log','limit-login-attempts'); ?>" type="submit" />
5
  Description: Limit rate of login attempts, including by way of cookies, for each IP.
6
  Author: Johan Eenfeldt
7
  Author URI: http://devel.kostdoktorn.se
8
+ Version: 1.4
9
 
10
  Copyright 2008, 2009 Johan Eenfeldt
11
 
737
  if (!current_user_can('manage_options')) {
738
  wp_die('Sorry, but you do not have permissions to change settings.');
739
  }
740
+
741
+ /* Make sure post was from this page */
742
+ if (count($_POST) > 0) {
743
+ check_admin_referer('limit-login-attempts-options');
744
+ }
745
 
746
  /* Should we clear log? */
747
  if (isset($_POST['clear_log'])) {
840
  <h2><?php echo __('Limit Login Attempts Settings','limit-login-attempts'); ?></h2>
841
  <h3><?php echo __('Statistics','limit-login-attempts'); ?></h3>
842
  <form action="options-general.php?page=limit-login-attempts" method="post">
843
+ <?php wp_nonce_field('limit-login-attempts-options'); ?>
844
  <table class="form-table">
845
  <tr>
846
  <th scope="row" valign="top"><?php echo __('Total lockouts','limit-login-attempts'); ?></th>
864
  </form>
865
  <h3><?php echo __('Options','limit-login-attempts'); ?></h3>
866
  <form action="options-general.php?page=limit-login-attempts" method="post">
867
+ <?php wp_nonce_field('limit-login-attempts-options'); ?>
868
  <table class="form-table">
869
  <tr>
870
  <th scope="row" valign="top"><?php echo __('Lockout','limit-login-attempts'); ?></th>
918
  ?>
919
  <h3><?php echo __('Lockout log','limit-login-attempts'); ?></h3>
920
  <form action="options-general.php?page=limit-login-attempts" method="post">
921
+ <?php wp_nonce_field('limit-login-attempts-options'); ?>
922
  <input type="hidden" value="true" name="clear_log" />
923
  <p class="submit">
924
  <input name="submit" value="<?php echo __('Clear Log','limit-login-attempts'); ?>" type="submit" />
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: johanee
3
  Tags: login, security, authentication
4
  Requires at least: 2.5
5
  Tested up to: 2.8.4
6
- Stable tag: 1.3.2
7
 
8
  Limit rate of login attempts, including by way of cookies, for each IP.
9
 
@@ -23,7 +23,7 @@ Features
23
  * Optional logging, optional email notification
24
  * Handles server behind reverse proxy
25
 
26
- Translations: Bulgarian, Catalan, German, Norwegian, Persian, Romanian, Russian, Spanish, Swedish
27
 
28
  Plugin uses standard actions and filters only.
29
 
@@ -64,6 +64,9 @@ If you have access to the database (for example through phpMyAdmin) you can clea
64
 
65
  == Version History ==
66
 
 
 
 
67
  * Version 1.3.2
68
  * Added Bulgarian translation, thanks to Hristo Chakarov
69
  * Added Norwegian translation, thanks to Rune Gulbrands�y
3
  Tags: login, security, authentication
4
  Requires at least: 2.5
5
  Tested up to: 2.8.4
6
+ Stable tag: 1.4
7
 
8
  Limit rate of login attempts, including by way of cookies, for each IP.
9
 
23
  * Optional logging, optional email notification
24
  * Handles server behind reverse proxy
25
 
26
+ Translations: Bulgarian, Catalan, Czech, German, Norwegian, Persian, Romanian, Russian, Spanish, Swedish
27
 
28
  Plugin uses standard actions and filters only.
29
 
64
 
65
  == Version History ==
66
 
67
+ * Version 1.4
68
+ * Protect admin page update using wp_nonce
69
+ * Added Czech translation, thanks to Jakub Jedelsky
70
  * Version 1.3.2
71
  * Added Bulgarian translation, thanks to Hristo Chakarov
72
  * Added Norwegian translation, thanks to Rune Gulbrands�y