Changeset 3466849
- Timestamp:
- 02/22/2026 11:21:31 AM (5 weeks ago)
- Location:
- spamanvil
- Files:
-
- 10 edited
- 1 copied
-
tags/1.2.5 (copied) (copied from spamanvil/trunk)
-
tags/1.2.5/includes/class-spamanvil-queue.php (modified) (1 diff)
-
tags/1.2.5/languages/spamanvil-pt_BR.mo (modified) (previous)
-
tags/1.2.5/languages/spamanvil-pt_BR.po (modified) (1 diff)
-
tags/1.2.5/readme.txt (modified) (2 diffs)
-
tags/1.2.5/spamanvil.php (modified) (2 diffs)
-
trunk/includes/class-spamanvil-queue.php (modified) (1 diff)
-
trunk/languages/spamanvil-pt_BR.mo (modified) (previous)
-
trunk/languages/spamanvil-pt_BR.po (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/spamanvil.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spamanvil/tags/1.2.5/includes/class-spamanvil-queue.php
r3466837 r3466849 164 164 "UPDATE {$this->table} SET status = 'queued' WHERE status = 'processing' AND updated_at <= %s", 165 165 $stale_cutoff 166 ) 167 ); 168 169 // Reclaim max_retries items after 1 hour — give them a fresh retry cycle. 170 $retry_cutoff = gmdate( 'Y-m-d H:i:s', time() - 3600 ); 171 $wpdb->query( 172 $wpdb->prepare( 173 "UPDATE {$this->table} SET status = 'queued', attempts = 0 WHERE status = 'max_retries' AND updated_at <= %s", 174 $retry_cutoff 166 175 ) 167 176 ); -
spamanvil/tags/1.2.5/languages/spamanvil-pt_BR.po
r3466846 r3466849 6 6 msgid "" 7 7 msgstr "" 8 "Project-Id-Version: SpamAnvil 1.2. 4\n"8 "Project-Id-Version: SpamAnvil 1.2.5\n" 9 9 "Report-Msgid-Bugs-To: https://software.amato.com.br/spamanvil-antispam-" 10 10 "plugin-for-wordpress/\n" -
spamanvil/tags/1.2.5/readme.txt
r3466846 r3466849 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.2. 48 Stable tag: 1.2.5 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 215 215 == Changelog == 216 216 217 = 1.2. 4=217 = 1.2.5 = 218 218 * Feature: Cron now automatically scans pending WordPress comments when the queue is empty — no manual "Scan Pending" click needed 219 * Fix: Comments stuck in "Max Retries" are now automatically retried after 1 hour instead of requiring manual intervention 219 220 * Enhancement: Warning displayed when DISABLE_WP_CRON is active, with instructions to set up a real server cron job 220 221 -
spamanvil/tags/1.2.5/spamanvil.php
r3466846 r3466849 4 4 * Plugin URI: https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/ 5 5 * Description: Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics. 6 * Version: 1.2. 46 * Version: 1.2.5 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'SPAMANVIL_VERSION', '1.2. 4' );21 define( 'SPAMANVIL_VERSION', '1.2.5' ); 22 22 define( 'SPAMANVIL_DB_VERSION', '1.0.0' ); 23 23 define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ ); -
spamanvil/trunk/includes/class-spamanvil-queue.php
r3466837 r3466849 164 164 "UPDATE {$this->table} SET status = 'queued' WHERE status = 'processing' AND updated_at <= %s", 165 165 $stale_cutoff 166 ) 167 ); 168 169 // Reclaim max_retries items after 1 hour — give them a fresh retry cycle. 170 $retry_cutoff = gmdate( 'Y-m-d H:i:s', time() - 3600 ); 171 $wpdb->query( 172 $wpdb->prepare( 173 "UPDATE {$this->table} SET status = 'queued', attempts = 0 WHERE status = 'max_retries' AND updated_at <= %s", 174 $retry_cutoff 166 175 ) 167 176 ); -
spamanvil/trunk/languages/spamanvil-pt_BR.po
r3466846 r3466849 6 6 msgid "" 7 7 msgstr "" 8 "Project-Id-Version: SpamAnvil 1.2. 4\n"8 "Project-Id-Version: SpamAnvil 1.2.5\n" 9 9 "Report-Msgid-Bugs-To: https://software.amato.com.br/spamanvil-antispam-" 10 10 "plugin-for-wordpress/\n" -
spamanvil/trunk/readme.txt
r3466846 r3466849 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.2. 48 Stable tag: 1.2.5 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 215 215 == Changelog == 216 216 217 = 1.2. 4=217 = 1.2.5 = 218 218 * Feature: Cron now automatically scans pending WordPress comments when the queue is empty — no manual "Scan Pending" click needed 219 * Fix: Comments stuck in "Max Retries" are now automatically retried after 1 hour instead of requiring manual intervention 219 220 * Enhancement: Warning displayed when DISABLE_WP_CRON is active, with instructions to set up a real server cron job 220 221 -
spamanvil/trunk/spamanvil.php
r3466846 r3466849 4 4 * Plugin URI: https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/ 5 5 * Description: Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics. 6 * Version: 1.2. 46 * Version: 1.2.5 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'SPAMANVIL_VERSION', '1.2. 4' );21 define( 'SPAMANVIL_VERSION', '1.2.5' ); 22 22 define( 'SPAMANVIL_DB_VERSION', '1.0.0' ); 23 23 define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.