emha.koeln
Forum Replies Created
-
Forum: Plugins
In reply to: [ReportAttacks — Brute Force & Login Protection] TranslationHi Billy,
thanks for the credit!
Some translations aren’t show:
– Start up Guide -> 5) and 6)
(well, you choose different syntax:
‘1)’. __(“…
and
__(“5) …
)As I said, have a look at my github patch-files.
I’m using this ‘build’ on a production server and it is working well.I will contact you at http://billminozzi.com/support/ in a few days
Best regards,
emha.koelnForum: Plugins
In reply to: [ReportAttacks — Brute Force & Login Protection] TranslationHi Bill,
i’ve updated the translation on translate.ww.wp.xz.cn.
For the menu and tab issue you may have a look at
https://github.com/emha-koeln/reportattacks (the *.patch files ;-))Best regards,
emha.koelnForum: Plugins
In reply to: [ReportAttacks — Brute Force & Login Protection] TranslationHi Bill,
take your time – it’s your plugin 😉
I’ve made a fork on github and will replace it with the latest version in order to be able to create diff files if necessary. Maybe that will help you.
But I’m still learning …Best regards,
emha.koelnHi,
found it:
https://ww.wp.xz.cn/plugins/prevent-xss-vulnerability/so
?failedlogin[0]=123&failedlogin[1]=234
becomes
?failedlogin=123&failedlogin=234Best regards,
emha.koelnHi,
I don’t know, why your code isn’t working here…
My Solution:
(from: https://stackoverflow.com/questions/353379/how-to-get-multiple-parameters-with-same-name-from-a-url-in-php)class-reportattacks-list-table.php
[…]
if(‘delete’ === $this->current_action()) {$query = explode(‘&’, $_SERVER[‘QUERY_STRING’]);
$params = array();foreach ($query as $param) {
// prevent notice on explode() if $param has no ‘=’
if (strpos($param, ‘=’) === false) $param += ‘=’;list($name, $value) = explode(‘=’, $param, 2);
$params[urldecode($name)][] = urldecode($value);
}[…]
foreach ($params[‘failedlogin’] as $ip) {
[…]Thanks for the plugin anyway!
Best regards,
emha.koelnHi,
thanks for your answer.
Both systems are up to date according to their package-systems apt/pkg (Versions: see above).
I also tried different Clients, but I got the same result.
($_GET[‘failedlogin’] isn’t an array – just a string
using ‘(array)$_GET…’ allows me to delete one line.
)Next I’ll try php74 on the debian-system.
Best regards,
emha.koeln