Version Description
- Fix bug where log would not get updated after it had been cleared
- Do plugin setup in 'init' action
- Small update to Spanish translation file, thanks to Marcelo Pedra
- Tested against WordPress 3.2.1
Download this release
Release Info
Developer | johanee |
Plugin | Limit Login Attempts |
Version | 1.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.6.2
- limit-login-attempts-es_ES.mo +0 -0
- limit-login-attempts-es_ES.po +69 -80
- limit-login-attempts.php +20 -16
- readme.txt +8 -2
limit-login-attempts-es_ES.mo
CHANGED
Binary file
|
limit-login-attempts-es_ES.po
CHANGED
@@ -7,9 +7,9 @@ msgid ""
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: limit-login-attempts 1.3\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n"
|
10 |
-
"POT-Creation-Date:
|
11 |
-
"PO-Revision-Date:
|
12 |
-
"Last-Translator: Marcelo Pedra <marcelo@
|
13 |
"Language-Team: Español <marcelo@ampm-soluciones.com.ar>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -18,260 +18,249 @@ msgstr ""
|
|
18 |
"X-Poedit-Language: Spanish\n"
|
19 |
"X-Poedit-Country: ARGENTINA\n"
|
20 |
|
21 |
-
#: limit-login-attempts.php:
|
22 |
-
#, php-format
|
23 |
msgid "%d hour"
|
24 |
msgid_plural "%d hours"
|
25 |
msgstr[0] "%d hora"
|
26 |
msgstr[1] "%d horas"
|
27 |
|
28 |
-
#: limit-login-attempts.php:
|
29 |
-
#, php-format
|
30 |
msgid "%d minute"
|
31 |
msgid_plural "%d minutes"
|
32 |
msgstr[0] "%d minuto"
|
33 |
msgstr[1] "%d minutos"
|
34 |
|
35 |
-
#: limit-login-attempts.php:
|
36 |
-
#, php-format
|
37 |
msgid "[%s] Too many failed login attempts"
|
38 |
msgstr "[%s] Demasiados intentos de acceso fallidos"
|
39 |
|
40 |
-
#: limit-login-attempts.php:
|
41 |
-
#, php-format
|
42 |
msgid "%d failed login attempts (%d lockout(s)) from IP: %s"
|
43 |
msgstr "%d intentos de acceso fallidos (%d bloqueo(s)) desde la IP: %s"
|
44 |
|
45 |
-
#: limit-login-attempts.php:
|
46 |
-
#, php-format
|
47 |
msgid "Last user attempted: %s"
|
48 |
msgstr "Ultimo usuario probado: %s"
|
49 |
|
50 |
-
#: limit-login-attempts.php:
|
51 |
-
#, php-format
|
52 |
msgid "IP was blocked for %s"
|
53 |
msgstr "La IP se ha bloqueado para %s"
|
54 |
|
55 |
-
#: limit-login-attempts.php:
|
56 |
msgid "<strong>ERROR</strong>: Too many failed login attempts."
|
57 |
msgstr "<strong>ERROR</strong>: Demasiados intentos de acceso fallidos."
|
58 |
|
59 |
-
#: limit-login-attempts.php:
|
60 |
msgid "Please try again later."
|
61 |
msgstr "Por favor inténtelo más tarde."
|
62 |
|
63 |
-
#: limit-login-attempts.php:
|
64 |
-
#, php-format
|
65 |
msgid "Please try again in %d hour."
|
66 |
msgid_plural "Please try again in %d hours."
|
67 |
msgstr[0] "Por favor inténtelo dentro de %d hora."
|
68 |
msgstr[1] "Por favor inténtelo dentro de %d horas."
|
69 |
|
70 |
-
#: limit-login-attempts.php:
|
71 |
-
#, php-format
|
72 |
msgid "Please try again in %d minute."
|
73 |
msgid_plural "Please try again in %d minutes."
|
74 |
msgstr[0] "Por favor inténtelo dentro de %d minuto."
|
75 |
msgstr[1] "Por favor inténtelo dentro de %d minutos."
|
76 |
|
77 |
-
#: limit-login-attempts.php:
|
78 |
-
#, php-format
|
79 |
msgid "<strong>%d</strong> attempt remaining."
|
80 |
msgid_plural "<strong>%d</strong> attempts remaining."
|
81 |
msgstr[0] "Le queda <strong>%d</strong> intento más."
|
82 |
msgstr[1] "Le quedan <strong>%d</strong> intentos más."
|
83 |
|
84 |
-
#: limit-login-attempts.php:
|
85 |
msgid "<strong>ERROR</strong>: Incorrect username or password."
|
86 |
msgstr "<strong>ERROR</strong>: Nombre de usuario o contraseña incorrectos."
|
87 |
|
88 |
-
#: limit-login-attempts.php:
|
89 |
-
|
90 |
-
|
|
|
91 |
|
92 |
-
#: limit-login-attempts.php:
|
93 |
msgid "Tried to log in as"
|
94 |
msgstr "Intentó ingresar como"
|
95 |
|
96 |
-
#: limit-login-attempts.php:
|
97 |
-
#, php-format
|
98 |
msgid "%d lockout"
|
99 |
msgid_plural "%d lockouts"
|
100 |
msgstr[0] "%d bloqueo"
|
101 |
msgstr[1] "%d bloqueos"
|
102 |
|
103 |
-
#: limit-login-attempts.php:
|
104 |
msgid "Cleared IP log"
|
105 |
msgstr "Direcciones liberadas"
|
106 |
|
107 |
-
#: limit-login-attempts.php:
|
108 |
msgid "Reset lockout count"
|
109 |
msgstr "Reiniciar contador de bloqueos"
|
110 |
|
111 |
-
#: limit-login-attempts.php:
|
112 |
msgid "Cleared current lockouts"
|
113 |
msgstr "Bloqueos actuales liberados"
|
114 |
|
115 |
-
#: limit-login-attempts.php:
|
116 |
msgid "Options changed"
|
117 |
msgstr "Opciones actualizadas"
|
118 |
|
119 |
-
#: limit-login-attempts.php:
|
120 |
-
msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later"
|
121 |
-
msgstr "<strong>NOTA:</strong> Este plugin sólo funciona en Wordpress 2.7 o superior"
|
122 |
-
|
123 |
-
#: limit-login-attempts.php:815
|
124 |
-
#, php-format
|
125 |
msgid "It appears the site is reached directly (from your IP: %s)"
|
126 |
msgstr "Al parecer, el sitio está siendo accedido directamente (desde tu IP: %s)"
|
127 |
|
128 |
-
#: limit-login-attempts.php:
|
129 |
-
#, php-format
|
130 |
msgid "It appears the site is reached through a proxy server (proxy IP: %s, your IP: %s)"
|
131 |
msgstr "Al parecer, el sitio está siendo accedido desde un servidor proxy (IP del proxy: %s, tu IP: %s)"
|
132 |
|
133 |
-
#: limit-login-attempts.php:
|
134 |
-
#, php-format
|
135 |
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>"
|
136 |
msgstr "<strong>La configuración actual parece ser incorrecta</strong>. Asegúrate de verificarla. Para mayor información, <a href=\"%s\" title=\"FAQ\">click aquí</a>"
|
137 |
|
138 |
-
#: limit-login-attempts.php:
|
139 |
msgid "Limit Login Attempts Settings"
|
140 |
msgstr "Preferencias del Limitador de Acceso"
|
141 |
|
142 |
-
#: limit-login-attempts.php:
|
143 |
msgid "Statistics"
|
144 |
msgstr "Estadísticas"
|
145 |
|
146 |
-
#: limit-login-attempts.php:
|
147 |
msgid "Total lockouts"
|
148 |
msgstr "Bloqueos totales"
|
149 |
|
150 |
-
#: limit-login-attempts.php:
|
151 |
msgid "Reset Counter"
|
152 |
msgstr "Reiniciar contador"
|
153 |
|
154 |
-
#: limit-login-attempts.php:
|
155 |
-
#, php-format
|
156 |
msgid "%d lockout since last reset"
|
157 |
msgid_plural "%d lockouts since last reset"
|
158 |
msgstr[0] "%d bloqueo desde el último reinicio."
|
159 |
msgstr[1] "%d bloqueos desde el último reinicio."
|
160 |
|
161 |
-
#: limit-login-attempts.php:
|
162 |
msgid "No lockouts yet"
|
163 |
msgstr "Ningún bloqueo hasta ahora"
|
164 |
|
165 |
-
#: limit-login-attempts.php:
|
166 |
msgid "Active lockouts"
|
167 |
msgstr "Bloqueos activos"
|
168 |
|
169 |
-
#: limit-login-attempts.php:
|
170 |
msgid "Restore Lockouts"
|
171 |
msgstr "Restablecer bloqueos"
|
172 |
|
173 |
-
#: limit-login-attempts.php:
|
174 |
-
#, php-format
|
175 |
msgid "%d IP is currently blocked from trying to log in"
|
176 |
msgstr "La IP %d actualmente tiene restringido el acceso"
|
177 |
|
178 |
-
#: limit-login-attempts.php:
|
179 |
msgid "Options"
|
180 |
msgstr "Opciones"
|
181 |
|
182 |
-
#: limit-login-attempts.php:
|
183 |
msgid "Lockout"
|
184 |
msgstr "Bloqueo"
|
185 |
|
186 |
-
#: limit-login-attempts.php:
|
187 |
msgid "allowed retries"
|
188 |
msgstr "reintentos permitidos"
|
189 |
|
190 |
-
#: limit-login-attempts.php:
|
191 |
msgid "minutes lockout"
|
192 |
msgstr "minutos por bloqueo"
|
193 |
|
194 |
-
#: limit-login-attempts.php:
|
195 |
msgid "lockouts increase lockout time to"
|
196 |
msgstr "bloqueos incrementan el tiempo a"
|
197 |
|
198 |
-
#: limit-login-attempts.php:
|
199 |
msgid "hours"
|
200 |
msgstr "horas"
|
201 |
|
202 |
-
#: limit-login-attempts.php:
|
203 |
msgid "hours until retries are reset"
|
204 |
msgstr "horas hasta restablecer los reintentos"
|
205 |
|
206 |
-
#: limit-login-attempts.php:
|
207 |
msgid "Site connection"
|
208 |
msgstr "Conexión"
|
209 |
|
210 |
-
#: limit-login-attempts.php:
|
211 |
msgid "Direct connection"
|
212 |
msgstr "Connexión directa"
|
213 |
|
214 |
-
#: limit-login-attempts.php:
|
215 |
msgid "From behind a reversy proxy"
|
216 |
msgstr "Detrás de un proxy"
|
217 |
|
218 |
-
#: limit-login-attempts.php:
|
219 |
msgid "Handle cookie login"
|
220 |
msgstr "Gestionar cookies de login"
|
221 |
|
222 |
-
#: limit-login-attempts.php:
|
223 |
msgid "Yes"
|
224 |
msgstr "Sí"
|
225 |
|
226 |
-
#: limit-login-attempts.php:
|
227 |
msgid "No"
|
228 |
msgstr "No"
|
229 |
|
230 |
-
#: limit-login-attempts.php:
|
231 |
msgid "Notify on lockout"
|
232 |
msgstr "Notificar al bloquear"
|
233 |
|
234 |
-
#: limit-login-attempts.php:
|
235 |
msgid "Log IP"
|
236 |
msgstr "Registrar IP"
|
237 |
|
238 |
-
#: limit-login-attempts.php:
|
239 |
msgid "Email to admin after"
|
240 |
msgstr "Enviar email al administrador cada"
|
241 |
|
242 |
-
#: limit-login-attempts.php:
|
243 |
msgid "lockouts"
|
244 |
msgstr "bloqueos"
|
245 |
|
246 |
-
#: limit-login-attempts.php:
|
247 |
msgid "Change Options"
|
248 |
msgstr "Cambiar opciones"
|
249 |
|
250 |
-
#: limit-login-attempts.php:
|
251 |
msgid "Lockout log"
|
252 |
msgstr "Registro de bloqueos"
|
253 |
|
254 |
-
#: limit-login-attempts.php:
|
255 |
msgid "Clear Log"
|
256 |
msgstr "Limpiar registro"
|
257 |
|
258 |
-
#. Plugin Name of
|
259 |
msgid "Limit Login Attempts"
|
260 |
msgstr "Límitador de intentos de login"
|
261 |
|
262 |
-
#. Plugin URI of
|
263 |
msgid "http://devel.kostdoktorn.se/limit-login-attempts"
|
264 |
msgstr "http://devel.kostdoktorn.se/limit-login-attempts"
|
265 |
|
266 |
-
#. Description of
|
267 |
msgid "Limit rate of login attempts, including by way of cookies, for each IP."
|
268 |
msgstr "Limita la tasa de intentos de acceso, usando cookies por IP."
|
269 |
|
270 |
-
#. Author of
|
271 |
msgid "Johan Eenfeldt"
|
272 |
msgstr "Johan Eenfeldt"
|
273 |
|
274 |
-
#. Author URI of
|
275 |
msgid "http://devel.kostdoktorn.se"
|
276 |
msgstr "http://devel.kostdoktorn.se"
|
277 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: limit-login-attempts 1.3\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n"
|
10 |
+
"POT-Creation-Date: 2011-02-17 15:08:09+00:00\n"
|
11 |
+
"PO-Revision-Date: 2011-02-20 09:24-0300\n"
|
12 |
+
"Last-Translator: Marcelo Pedra <marcelo@marcelopedra.com.ar>\n"
|
13 |
"Language-Team: Español <marcelo@ampm-soluciones.com.ar>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
18 |
"X-Poedit-Language: Spanish\n"
|
19 |
"X-Poedit-Country: ARGENTINA\n"
|
20 |
|
21 |
+
#: limit-login-attempts.php:474
|
|
|
22 |
msgid "%d hour"
|
23 |
msgid_plural "%d hours"
|
24 |
msgstr[0] "%d hora"
|
25 |
msgstr[1] "%d horas"
|
26 |
|
27 |
+
#: limit-login-attempts.php:480
|
|
|
28 |
msgid "%d minute"
|
29 |
msgid_plural "%d minutes"
|
30 |
msgstr[0] "%d minuto"
|
31 |
msgstr[1] "%d minutos"
|
32 |
|
33 |
+
#: limit-login-attempts.php:485
|
|
|
34 |
msgid "[%s] Too many failed login attempts"
|
35 |
msgstr "[%s] Demasiados intentos de acceso fallidos"
|
36 |
|
37 |
+
#: limit-login-attempts.php:487
|
|
|
38 |
msgid "%d failed login attempts (%d lockout(s)) from IP: %s"
|
39 |
msgstr "%d intentos de acceso fallidos (%d bloqueo(s)) desde la IP: %s"
|
40 |
|
41 |
+
#: limit-login-attempts.php:491
|
|
|
42 |
msgid "Last user attempted: %s"
|
43 |
msgstr "Ultimo usuario probado: %s"
|
44 |
|
45 |
+
#: limit-login-attempts.php:494
|
|
|
46 |
msgid "IP was blocked for %s"
|
47 |
msgstr "La IP se ha bloqueado para %s"
|
48 |
|
49 |
+
#: limit-login-attempts.php:551
|
50 |
msgid "<strong>ERROR</strong>: Too many failed login attempts."
|
51 |
msgstr "<strong>ERROR</strong>: Demasiados intentos de acceso fallidos."
|
52 |
|
53 |
+
#: limit-login-attempts.php:555
|
54 |
msgid "Please try again later."
|
55 |
msgstr "Por favor inténtelo más tarde."
|
56 |
|
57 |
+
#: limit-login-attempts.php:562
|
|
|
58 |
msgid "Please try again in %d hour."
|
59 |
msgid_plural "Please try again in %d hours."
|
60 |
msgstr[0] "Por favor inténtelo dentro de %d hora."
|
61 |
msgstr[1] "Por favor inténtelo dentro de %d horas."
|
62 |
|
63 |
+
#: limit-login-attempts.php:564
|
|
|
64 |
msgid "Please try again in %d minute."
|
65 |
msgid_plural "Please try again in %d minutes."
|
66 |
msgstr[0] "Por favor inténtelo dentro de %d minuto."
|
67 |
msgstr[1] "Por favor inténtelo dentro de %d minutos."
|
68 |
|
69 |
+
#: limit-login-attempts.php:593
|
|
|
70 |
msgid "<strong>%d</strong> attempt remaining."
|
71 |
msgid_plural "<strong>%d</strong> attempts remaining."
|
72 |
msgstr[0] "Le queda <strong>%d</strong> intento más."
|
73 |
msgstr[1] "Le quedan <strong>%d</strong> intentos más."
|
74 |
|
75 |
+
#: limit-login-attempts.php:658
|
76 |
msgid "<strong>ERROR</strong>: Incorrect username or password."
|
77 |
msgstr "<strong>ERROR</strong>: Nombre de usuario o contraseña incorrectos."
|
78 |
|
79 |
+
#: limit-login-attempts.php:826
|
80 |
+
msgctxt "Internet address"
|
81 |
+
msgid "IP"
|
82 |
+
msgstr "IP"
|
83 |
|
84 |
+
#: limit-login-attempts.php:826
|
85 |
msgid "Tried to log in as"
|
86 |
msgstr "Intentó ingresar como"
|
87 |
|
88 |
+
#: limit-login-attempts.php:831
|
|
|
89 |
msgid "%d lockout"
|
90 |
msgid_plural "%d lockouts"
|
91 |
msgstr[0] "%d bloqueo"
|
92 |
msgstr[1] "%d bloqueos"
|
93 |
|
94 |
+
#: limit-login-attempts.php:860
|
95 |
msgid "Cleared IP log"
|
96 |
msgstr "Direcciones liberadas"
|
97 |
|
98 |
+
#: limit-login-attempts.php:868
|
99 |
msgid "Reset lockout count"
|
100 |
msgstr "Reiniciar contador de bloqueos"
|
101 |
|
102 |
+
#: limit-login-attempts.php:876
|
103 |
msgid "Cleared current lockouts"
|
104 |
msgstr "Bloqueos actuales liberados"
|
105 |
|
106 |
+
#: limit-login-attempts.php:905
|
107 |
msgid "Options changed"
|
108 |
msgstr "Opciones actualizadas"
|
109 |
|
110 |
+
#: limit-login-attempts.php:923
|
|
|
|
|
|
|
|
|
|
|
111 |
msgid "It appears the site is reached directly (from your IP: %s)"
|
112 |
msgstr "Al parecer, el sitio está siendo accedido directamente (desde tu IP: %s)"
|
113 |
|
114 |
+
#: limit-login-attempts.php:925
|
|
|
115 |
msgid "It appears the site is reached through a proxy server (proxy IP: %s, your IP: %s)"
|
116 |
msgstr "Al parecer, el sitio está siendo accedido desde un servidor proxy (IP del proxy: %s, tu IP: %s)"
|
117 |
|
118 |
+
#: limit-login-attempts.php:933
|
|
|
119 |
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>"
|
120 |
msgstr "<strong>La configuración actual parece ser incorrecta</strong>. Asegúrate de verificarla. Para mayor información, <a href=\"%s\" title=\"FAQ\">click aquí</a>"
|
121 |
|
122 |
+
#: limit-login-attempts.php:941
|
123 |
msgid "Limit Login Attempts Settings"
|
124 |
msgstr "Preferencias del Limitador de Acceso"
|
125 |
|
126 |
+
#: limit-login-attempts.php:942
|
127 |
msgid "Statistics"
|
128 |
msgstr "Estadísticas"
|
129 |
|
130 |
+
#: limit-login-attempts.php:947
|
131 |
msgid "Total lockouts"
|
132 |
msgstr "Bloqueos totales"
|
133 |
|
134 |
+
#: limit-login-attempts.php:950
|
135 |
msgid "Reset Counter"
|
136 |
msgstr "Reiniciar contador"
|
137 |
|
138 |
+
#: limit-login-attempts.php:951
|
|
|
139 |
msgid "%d lockout since last reset"
|
140 |
msgid_plural "%d lockouts since last reset"
|
141 |
msgstr[0] "%d bloqueo desde el último reinicio."
|
142 |
msgstr[1] "%d bloqueos desde el último reinicio."
|
143 |
|
144 |
+
#: limit-login-attempts.php:952
|
145 |
msgid "No lockouts yet"
|
146 |
msgstr "Ningún bloqueo hasta ahora"
|
147 |
|
148 |
+
#: limit-login-attempts.php:957
|
149 |
msgid "Active lockouts"
|
150 |
msgstr "Bloqueos activos"
|
151 |
|
152 |
+
#: limit-login-attempts.php:959
|
153 |
msgid "Restore Lockouts"
|
154 |
msgstr "Restablecer bloqueos"
|
155 |
|
156 |
+
#: limit-login-attempts.php:960
|
|
|
157 |
msgid "%d IP is currently blocked from trying to log in"
|
158 |
msgstr "La IP %d actualmente tiene restringido el acceso"
|
159 |
|
160 |
+
#: limit-login-attempts.php:966
|
161 |
msgid "Options"
|
162 |
msgstr "Opciones"
|
163 |
|
164 |
+
#: limit-login-attempts.php:971
|
165 |
msgid "Lockout"
|
166 |
msgstr "Bloqueo"
|
167 |
|
168 |
+
#: limit-login-attempts.php:973
|
169 |
msgid "allowed retries"
|
170 |
msgstr "reintentos permitidos"
|
171 |
|
172 |
+
#: limit-login-attempts.php:974
|
173 |
msgid "minutes lockout"
|
174 |
msgstr "minutos por bloqueo"
|
175 |
|
176 |
+
#: limit-login-attempts.php:975
|
177 |
msgid "lockouts increase lockout time to"
|
178 |
msgstr "bloqueos incrementan el tiempo a"
|
179 |
|
180 |
+
#: limit-login-attempts.php:975
|
181 |
msgid "hours"
|
182 |
msgstr "horas"
|
183 |
|
184 |
+
#: limit-login-attempts.php:976
|
185 |
msgid "hours until retries are reset"
|
186 |
msgstr "horas hasta restablecer los reintentos"
|
187 |
|
188 |
+
#: limit-login-attempts.php:980
|
189 |
msgid "Site connection"
|
190 |
msgstr "Conexión"
|
191 |
|
192 |
+
#: limit-login-attempts.php:986
|
193 |
msgid "Direct connection"
|
194 |
msgstr "Connexión directa"
|
195 |
|
196 |
+
#: limit-login-attempts.php:991
|
197 |
msgid "From behind a reversy proxy"
|
198 |
msgstr "Detrás de un proxy"
|
199 |
|
200 |
+
#: limit-login-attempts.php:997
|
201 |
msgid "Handle cookie login"
|
202 |
msgstr "Gestionar cookies de login"
|
203 |
|
204 |
+
#: limit-login-attempts.php:999
|
205 |
msgid "Yes"
|
206 |
msgstr "Sí"
|
207 |
|
208 |
+
#: limit-login-attempts.php:999
|
209 |
msgid "No"
|
210 |
msgstr "No"
|
211 |
|
212 |
+
#: limit-login-attempts.php:1003
|
213 |
msgid "Notify on lockout"
|
214 |
msgstr "Notificar al bloquear"
|
215 |
|
216 |
+
#: limit-login-attempts.php:1005
|
217 |
msgid "Log IP"
|
218 |
msgstr "Registrar IP"
|
219 |
|
220 |
+
#: limit-login-attempts.php:1006
|
221 |
msgid "Email to admin after"
|
222 |
msgstr "Enviar email al administrador cada"
|
223 |
|
224 |
+
#: limit-login-attempts.php:1006
|
225 |
msgid "lockouts"
|
226 |
msgstr "bloqueos"
|
227 |
|
228 |
+
#: limit-login-attempts.php:1011
|
229 |
msgid "Change Options"
|
230 |
msgstr "Cambiar opciones"
|
231 |
|
232 |
+
#: limit-login-attempts.php:1019
|
233 |
msgid "Lockout log"
|
234 |
msgstr "Registro de bloqueos"
|
235 |
|
236 |
+
#: limit-login-attempts.php:1024
|
237 |
msgid "Clear Log"
|
238 |
msgstr "Limpiar registro"
|
239 |
|
240 |
+
#. Plugin Name of the plugin/theme
|
241 |
msgid "Limit Login Attempts"
|
242 |
msgstr "Límitador de intentos de login"
|
243 |
|
244 |
+
#. Plugin URI of the plugin/theme
|
245 |
msgid "http://devel.kostdoktorn.se/limit-login-attempts"
|
246 |
msgstr "http://devel.kostdoktorn.se/limit-login-attempts"
|
247 |
|
248 |
+
#. Description of the plugin/theme
|
249 |
msgid "Limit rate of login attempts, including by way of cookies, for each IP."
|
250 |
msgstr "Limita la tasa de intentos de acceso, usando cookies por IP."
|
251 |
|
252 |
+
#. Author of the plugin/theme
|
253 |
msgid "Johan Eenfeldt"
|
254 |
msgstr "Johan Eenfeldt"
|
255 |
|
256 |
+
#. Author URI of the plugin/theme
|
257 |
msgid "http://devel.kostdoktorn.se"
|
258 |
msgstr "http://devel.kostdoktorn.se"
|
259 |
|
260 |
+
#~ msgid "IP|Internet address"
|
261 |
+
#~ msgstr "IP|Dirección de Internet"
|
262 |
+
#~ msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later"
|
263 |
+
#~ msgstr ""
|
264 |
+
#~ "<strong>NOTA:</strong> Este plugin sólo funciona en Wordpress 2.7 o "
|
265 |
+
#~ "superior"
|
266 |
+
|
limit-login-attempts.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
Author: Johan Eenfeldt
|
7 |
Author URI: http://devel.kostdoktorn.se
|
8 |
Text Domain: limit-login-attempts
|
9 |
-
Version: 1.6.
|
10 |
|
11 |
Copyright 2008 - 2011 Johan Eenfeldt
|
12 |
|
@@ -85,7 +85,7 @@ $limit_login_nonempty_credentials = false; /* user and pwd nonempty */
|
|
85 |
* Startup
|
86 |
*/
|
87 |
|
88 |
-
limit_login_setup
|
89 |
|
90 |
|
91 |
/*
|
@@ -501,22 +501,26 @@ function limit_login_notify_email($user) {
|
|
501 |
|
502 |
/* Logging of lockout (if configured) */
|
503 |
function limit_login_notify_log($user) {
|
504 |
-
$log = get_option('limit_login_logged');
|
505 |
-
$ip = limit_login_get_address();
|
506 |
if (!is_array($log)) {
|
507 |
-
$log = array(
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
$log[$ip][$user] = 1;
|
516 |
-
}
|
517 |
} else {
|
518 |
-
$log[$ip]
|
519 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
update_option('limit_login_logged', $log);
|
521 |
}
|
522 |
}
|
@@ -855,7 +859,7 @@ function limit_login_option_page() {
|
|
855 |
|
856 |
/* Should we clear log? */
|
857 |
if (isset($_POST['clear_log'])) {
|
858 |
-
|
859 |
echo '<div id="message" class="updated fade"><p>'
|
860 |
. __('Cleared IP log', 'limit-login-attempts')
|
861 |
. '</p></div>';
|
6 |
Author: Johan Eenfeldt
|
7 |
Author URI: http://devel.kostdoktorn.se
|
8 |
Text Domain: limit-login-attempts
|
9 |
+
Version: 1.6.2
|
10 |
|
11 |
Copyright 2008 - 2011 Johan Eenfeldt
|
12 |
|
85 |
* Startup
|
86 |
*/
|
87 |
|
88 |
+
add_action('init', 'limit_login_setup');
|
89 |
|
90 |
|
91 |
/*
|
501 |
|
502 |
/* Logging of lockout (if configured) */
|
503 |
function limit_login_notify_log($user) {
|
504 |
+
$log = $option = get_option('limit_login_logged');
|
|
|
505 |
if (!is_array($log)) {
|
506 |
+
$log = array();
|
507 |
+
}
|
508 |
+
$ip = limit_login_get_address();
|
509 |
+
|
510 |
+
/* can be written much simpler, if you do not mind php warnings */
|
511 |
+
if (isset($log[$ip])) {
|
512 |
+
if (isset($log[$ip][$user])) {
|
513 |
+
$log[$ip][$user]++;
|
|
|
|
|
514 |
} else {
|
515 |
+
$log[$ip][$user] = 1;
|
516 |
}
|
517 |
+
} else {
|
518 |
+
$log[$ip] = array($user => 1);
|
519 |
+
}
|
520 |
+
|
521 |
+
if ($option === false) {
|
522 |
+
add_option('limit_login_logged', $log, '', 'no'); /* no autoload */
|
523 |
+
} else {
|
524 |
update_option('limit_login_logged', $log);
|
525 |
}
|
526 |
}
|
859 |
|
860 |
/* Should we clear log? */
|
861 |
if (isset($_POST['clear_log'])) {
|
862 |
+
delete_option('limit_login_logged');
|
863 |
echo '<div id="message" class="updated fade"><p>'
|
864 |
. __('Cleared IP log', 'limit-login-attempts')
|
865 |
. '</p></div>';
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: johanee
|
3 |
Tags: login, security, authentication
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 3.1
|
6 |
-
Stable tag: 1.6.
|
7 |
|
8 |
Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable.
|
9 |
|
@@ -67,6 +67,12 @@ If you have access to the database (for example through phpMyAdmin) you can clea
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
= 1.6.1 =
|
71 |
* (WordPress 3.0+) An invalid cookie can sometimes get sent multiple times before it gets cleared, resulting in multiple failed attempts or even a lockout from a single invalid cookie. Store the latest failed cookie to make sure we only count it as one failed attempt
|
72 |
* Define "Text Domain" correctly
|
2 |
Contributors: johanee
|
3 |
Tags: login, security, authentication
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.2.1
|
6 |
+
Stable tag: 1.6.2
|
7 |
|
8 |
Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable.
|
9 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.6.2 =
|
71 |
+
* Fix bug where log would not get updated after it had been cleared
|
72 |
+
* Do plugin setup in 'init' action
|
73 |
+
* Small update to Spanish translation file, thanks to Marcelo Pedra
|
74 |
+
* Tested against WordPress 3.2.1
|
75 |
+
|
76 |
= 1.6.1 =
|
77 |
* (WordPress 3.0+) An invalid cookie can sometimes get sent multiple times before it gets cleared, resulting in multiple failed attempts or even a lockout from a single invalid cookie. Store the latest failed cookie to make sure we only count it as one failed attempt
|
78 |
* Define "Text Domain" correctly
|