Changeset 3477178
- Timestamp:
- 03/07/2026 09:20:45 PM (4 weeks ago)
- Location:
- flowsystems-webhook-actions/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
flowsystems-webhook-actions.php (modified) (2 diffs)
-
src/Repositories/QueueRepository.php (modified) (1 diff)
-
src/Services/QueueService.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
flowsystems-webhook-actions/trunk/README.txt
r3477165 r3477178 5 5 Tested up to: 6.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.2. 07 Stable tag: 1.2.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 208 208 209 209 == 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` 210 214 211 215 = 1.2.0 — 2026-03-07 = -
flowsystems-webhook-actions/trunk/flowsystems-webhook-actions.php
r3477165 r3477178 4 4 * Plugin URI: https://flowsystems.pl/wordpress-webhook-actions 5 5 * Description: Trigger HTTP webhooks from WordPress actions (do_action). Easily connect WordPress with n8n, Zapier, Make, or custom workflows. 6 * Version: 1.2. 06 * Version: 1.2.1 7 7 * Author: Mateusz Skorupa 8 8 * Author URI: https://flowsystems.pl … … 17 17 defined('ABSPATH') || exit; 18 18 19 define('FSWA_VERSION', '1.2. 0');19 define('FSWA_VERSION', '1.2.1'); 20 20 define('FSWA_FILE', __FILE__); 21 21 -
flowsystems-webhook-actions/trunk/src/Repositories/QueueRepository.php
r3471792 r3477178 374 374 $job = $wpdb->get_row( 375 375 $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", 377 377 $logId 378 378 ), -
flowsystems-webhook-actions/trunk/src/Services/QueueService.php
r3477165 r3477178 261 261 $job = $this->repository->find($jobId); 262 262 263 if (!$job || !in_array($job['status'], [' pending', 'permanently_failed'], true)) {263 if (!$job || !in_array($job['status'], ['failed', 'pending', 'permanently_failed'], true)) { 264 264 return false; 265 265 }
Note: See TracChangeset
for help on using the changeset viewer.