Plugin Directory

Changeset 3466849


Ignore:
Timestamp:
02/22/2026 11:21:31 AM (5 weeks ago)
Author:
aamato
Message:

Release 1.2.5

Location:
spamanvil
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • spamanvil/tags/1.2.5/includes/class-spamanvil-queue.php

    r3466837 r3466849  
    164164                "UPDATE {$this->table} SET status = 'queued' WHERE status = 'processing' AND updated_at <= %s",
    165165                $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
    166175            )
    167176        );
  • spamanvil/tags/1.2.5/languages/spamanvil-pt_BR.po

    r3466846 r3466849  
    66msgid ""
    77msgstr ""
    8 "Project-Id-Version: SpamAnvil 1.2.4\n"
     8"Project-Id-Version: SpamAnvil 1.2.5\n"
    99"Report-Msgid-Bugs-To: https://software.amato.com.br/spamanvil-antispam-"
    1010"plugin-for-wordpress/\n"
  • spamanvil/tags/1.2.5/readme.txt

    r3466846 r3466849  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.2.4
     8Stable tag: 1.2.5
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    215215== Changelog ==
    216216
    217 = 1.2.4 =
     217= 1.2.5 =
    218218* 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
    219220* Enhancement: Warning displayed when DISABLE_WP_CRON is active, with instructions to set up a real server cron job
    220221
  • spamanvil/tags/1.2.5/spamanvil.php

    r3466846 r3466849  
    44 * Plugin URI:        https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/
    55 * Description:       Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics.
    6  * Version:           1.2.4
     6 * Version:           1.2.5
    77 * Requires at least: 5.8
    88 * Requires PHP:      7.4
     
    1919}
    2020
    21 define( 'SPAMANVIL_VERSION', '1.2.4' );
     21define( 'SPAMANVIL_VERSION', '1.2.5' );
    2222define( 'SPAMANVIL_DB_VERSION', '1.0.0' );
    2323define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ );
  • spamanvil/trunk/includes/class-spamanvil-queue.php

    r3466837 r3466849  
    164164                "UPDATE {$this->table} SET status = 'queued' WHERE status = 'processing' AND updated_at <= %s",
    165165                $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
    166175            )
    167176        );
  • spamanvil/trunk/languages/spamanvil-pt_BR.po

    r3466846 r3466849  
    66msgid ""
    77msgstr ""
    8 "Project-Id-Version: SpamAnvil 1.2.4\n"
     8"Project-Id-Version: SpamAnvil 1.2.5\n"
    99"Report-Msgid-Bugs-To: https://software.amato.com.br/spamanvil-antispam-"
    1010"plugin-for-wordpress/\n"
  • spamanvil/trunk/readme.txt

    r3466846 r3466849  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.2.4
     8Stable tag: 1.2.5
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    215215== Changelog ==
    216216
    217 = 1.2.4 =
     217= 1.2.5 =
    218218* 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
    219220* Enhancement: Warning displayed when DISABLE_WP_CRON is active, with instructions to set up a real server cron job
    220221
  • spamanvil/trunk/spamanvil.php

    r3466846 r3466849  
    44 * Plugin URI:        https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/
    55 * Description:       Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics.
    6  * Version:           1.2.4
     6 * Version:           1.2.5
    77 * Requires at least: 5.8
    88 * Requires PHP:      7.4
     
    1919}
    2020
    21 define( 'SPAMANVIL_VERSION', '1.2.4' );
     21define( 'SPAMANVIL_VERSION', '1.2.5' );
    2222define( 'SPAMANVIL_DB_VERSION', '1.0.0' );
    2323define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ );
Note: See TracChangeset for help on using the changeset viewer.