1f89052f7293f6c022f325f796bb0d7eec1a18d2
Flamingo's '_fields' meta stores only the list of field NAMES with null values; the actual values live in separate per-field meta keys prefixed with '_field_'. The old extract_fields() returned the null-valued '_fields' array on the first branch and never fell through to the '_field_*' collector, so every retro Telegram message showed '(не указан)' / '(пусто)' for every slot. Also collect '_from_name' / '_from_email' (set by Akismet) as convenience mappings to 'your-name' / 'your-email' so the formatter's standard slots are populated for most submissions even when the form uses custom field names like text-211 / name_user. Pilot on washanyanya.ru caught this (retro delivered empty skeletons). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
=== CF7 Spam → Telegram === Contributors: vbryzgalov Tags: contact-form-7, telegram, spam, flamingo Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later Пересылает в Telegram-группу submissions CF7, помеченные как спам, с эвристической оценкой «похоже клиент / неясно / похоже спам». == Description == Решает узкую задачу: среди отсечённого Akismet/Honeypot спама иногда встречаются реальные заявки клиентов. Плагин пересылает всё содержимое таких submissions в общую TG-группу с пометкой классификации (🟢/🟡/🔴), причиной попадания в спам, IP/UA, UTM. Требует установленных плагинов Contact Form 7 и Flamingo. == Installation == 1. Загрузите папку `cf7-spam-to-telegram` в `/wp-content/plugins/`. 2. Активируйте плагин в меню «Плагины». 3. Откройте «Настройки → CF7 Spam → TG», укажите Bot Token и Chat ID группы, сохраните. 4. Нажмите «Отправить тестовое сообщение», чтобы проверить. == Changelog == = 1.0.0 = * Первый релиз.
Description
WordPress plugin: forwards CF7 spam submissions to Telegram with heuristic classification