Plugin Directory

Changeset 3477178


Ignore:
Timestamp:
03/07/2026 09:20:45 PM (4 weeks ago)
Author:
mateuszflowsystems
Message:

Release 1.2.1

Location:
flowsystems-webhook-actions/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • flowsystems-webhook-actions/trunk/README.txt

    r3477165 r3477178  
    55Tested up to: 6.9
    66Requires PHP: 8.0
    7 Stable tag: 1.2.0
     7Stable tag: 1.2.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    208208
    209209== Changelog ==
     210
     211= 1.2.1 — 2026-03-07 =
     212- Fixed retry returning 500 when a log has multiple queue jobs (replay + original) — `findByLogId` now returns the most recent job via `ORDER BY id DESC`
     213- Fixed `forceRetry` rejecting jobs with status `failed` — restored `failed` to the allowed status list alongside `pending` and `permanently_failed`
    210214
    211215= 1.2.0 — 2026-03-07 =
  • flowsystems-webhook-actions/trunk/flowsystems-webhook-actions.php

    r3477165 r3477178  
    44 * Plugin URI: https://flowsystems.pl/wordpress-webhook-actions
    55 * Description: Trigger HTTP webhooks from WordPress actions (do_action). Easily connect WordPress with n8n, Zapier, Make, or custom workflows.
    6  * Version: 1.2.0
     6 * Version: 1.2.1
    77 * Author: Mateusz Skorupa
    88 * Author URI: https://flowsystems.pl
     
    1717defined('ABSPATH') || exit;
    1818
    19 define('FSWA_VERSION', '1.2.0');
     19define('FSWA_VERSION', '1.2.1');
    2020define('FSWA_FILE', __FILE__);
    2121
  • flowsystems-webhook-actions/trunk/src/Repositories/QueueRepository.php

    r3471792 r3477178  
    374374    $job = $wpdb->get_row(
    375375      $wpdb->prepare(
    376         "SELECT * FROM {$this->table} WHERE log_id = %d LIMIT 1",
     376        "SELECT * FROM {$this->table} WHERE log_id = %d ORDER BY id DESC LIMIT 1",
    377377        $logId
    378378      ),
  • flowsystems-webhook-actions/trunk/src/Services/QueueService.php

    r3477165 r3477178  
    261261    $job = $this->repository->find($jobId);
    262262
    263     if (!$job || !in_array($job['status'], ['pending', 'permanently_failed'], true)) {
     263    if (!$job || !in_array($job['status'], ['failed', 'pending', 'permanently_failed'], true)) {
    264264      return false;
    265265    }
Note: See TracChangeset for help on using the changeset viewer.