22239321d0a068344667e14c790ad7bc1a49e92b
Dispatcher::register_hooks() runs on plugins_loaded, which is AFTER register_activation_hook fires. The custom recurrence 'cf7stg_every_minute' was therefore unknown to wp_schedule_event during activation, and the 'cf7stg_dispatch' event silently failed to schedule — queue items never got dispatched. Pilot caught this on washanyanya.ru (23 items queued, 0 sent, 0 failed — no cron hook firing at all). Adding the filter directly inside Activator::schedule_events() makes the custom schedule available in the same request as the wp_schedule_event call, regardless of bootstrap order. After updating the plugin, deactivate + reactivate is required to re-trigger Activator::activate() so events get (re)scheduled. 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