Poprawki bezpieczeństwa formularza i panelu ustawień

- wp_unslash dla pól formularza i opcji (koniec z \' w mailach)
- panel: wymagany nonce i manage_options, sanityzacja, esc_attr
- reCAPTCHA: oczekiwana akcja i próg wyniku 0.5
- From z domeny strony, adres nadawcy tylko w Reply-To
- honeypot bez die(), walidacja JS nie jest omijana
- komunikat o nieudanej wysyłce, zachowanie wpisanych pól
- nowy wygląd formularza (klasy ic-*) i szablon maila

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 23:44:46 +01:00
co-authored by Claude Fable 5.2
parent f6b707a6f2
commit 0f7eddd6a0
7 changed files with 506 additions and 268 deletions
Binary file not shown.
+4
View File
@@ -131,3 +131,7 @@ msgstr "Podaj swoją wiadomość!"
#: inc/classes/inContact/Shortcode.php
msgid "Send"
msgstr "Wyślij"
#: inc/classes/inContact/Shortcode.php
msgid "The message could not be sent. Please try again."
msgstr "Nie udało się wysłać wiadomości. Spróbuj ponownie."
+4
View File
@@ -130,3 +130,7 @@ msgstr ""
#: inc/classes/inContact/Shortcode.php
msgid "Send"
msgstr ""
#: inc/classes/inContact/Shortcode.php
msgid "The message could not be sent. Please try again."
msgstr ""