2de8f0be571188e519cbc75aab4f4f7aa1531757
Pilot on washanyanya.ru exposed that Telegram Bot API rejects tel: URLs in inline_keyboard with HTTP 400 "Wrong port number specified in the URL". Queue was stuck on 5 items retrying the same failure 4 times each. - MessageFormatter: always returns reply_markup = null. The phone number is already rendered in the '📱 ...' line, and mobile Telegram clients linkify it automatically. - TelegramClient::is_permanent: treat all 4xx except 429 as permanent client-side errors, so future payload-shape bugs surface in the dashboard widget immediately instead of burning five retry cycles. - MessageFormatterTest updated: the old test asserting tel: in reply_markup is replaced with one asserting reply_markup is null and the phone still appears in the text body. - Spec §9 + §19 updated, §19's open question closed. 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