*** Queue Ajax Calls Performantly (QACP) Changelog *** 2024-11-01 - version 1.0.1 * Initial release 2025-02-04 - version 1.1.0 * Added a processor class registration system. * Added the ability to sanitize $_POST data using custom data map. 2025-04-06 - version 1.1.2 * Detailed description. 2025-04-07 - version 1.1.3 * Fix versioning. * Fix admin CSS. 2026-06-02 - version 1.1.4 * Add early MU-plugin queueing for configured REST routes. * Add built-in PixelYourSite REST route processor for pys-facebook/v1/event. 2026-07-16 - version 1.1.5 * Update plugin version and WordPress compatibility metadata. 2026-07-17 - version 1.1.6 * Add reliable queue states, retries, stale-lock recovery, and recurring processing. * Add queue statistics and recovery controls grouped by request type and action. * Add schema-driven generic AJAX and REST replay processors. * Add short-lived anonymized diagnostics for rejected endpoint requests. * Support PixelYourSite REST event source and referrer URL fields. 2026-09-04 - version 1.1.7 * Add WordPress 7.1 compatibility. * Load the bundled Action Scheduler early enough to initialize on sites without WooCommerce. * Update the bundled Action Scheduler to 4.1.0, including schedule deserialization hardening. * Raise the minimum supported WordPress version to 6.8 to match Action Scheduler requirements. 2026-09-05 - version 1.1.8 * Accept PixelYourSite REST requests containing the optional order_key field. * Preserve and sanitize the target_url parameter used by automatic link events. * Refresh processor data maps automatically after plugin version upgrades. 2026-09-09 - version 1.1.9 * Repackage the complete plugin after the initial WordPress repository 1.1.8 download omitted 16 PHP files. * Include missing Action Scheduler classes, including ActionScheduler_RecurringActionScheduler, whose absence caused a fatal error during WordPress startup. * Include the PixelYourSite REST and generic replay processors missing from that download. * Issue a new version so sites running the incomplete 1.1.8 package receive the repair through the normal WordPress update process. No queue processing behavior changes from the complete 1.1.8 release. 2026-09-09 - version 1.1.10 * Fix the MU catcher skipping AJAX and REST requests when installed under the WordPress repository directory name. Detect the active plugin using its actual installation path instead of hardcoding qacp/qacp.php. * Recognize network activation when checking whether the MU catcher should run. * Refresh the installed MU catcher on upgrade through the existing version update mechanism. 2026-09-09 - version 1.1.11 * Verify installed MU catcher contents during normal plugin startup and repair stale, missing, or relocated copies, even when the version number has not changed. * Replace the MU file through a verified temporary file instead of deleting the working file first. Retry failed updates without recording a successful version upgrade. * Request OPcache invalidation after replacement and on activation, version upgrades, and diagnostic capture startup. * Fix activation and deactivation hook paths on Linux servers. * Add an admin notice for failed MU updates and anonymized MU file verification and cache invalidation results to debug reports. 2026-09-23 - version 1.1.12 * Fix the WooCommerce HPOS compatibility declaration to reference the main qacp.php plugin file instead of class-qacp.php, resolving the FeaturesController "Invalid plugin file" log message. 2026-09-23 - version 1.1.13 * Add a Tests section with a guest-request button, editable sample text, HTTP and validation results, and copyable diagnostics. * Send the test from the browser without cookies or login credentials, authorized by a short-lived, single-use token issued only to administrators. * Exercise a dedicated MU test endpoint, the configured PixelYourSite REST validator, and the shared queue writer. Verify and remove an inert cancelled test row without sending tracking events. * Report configuration, validation, storage, cleanup and request errors. This test does not verify scheduled queue processing or delivery to Meta. 2026-10-01 - version 1.1.14 * Added screenshots 2026-10-02 - version 1.1.15 * Add Requests, Schema Changes, Testing and Benchmarks tabs alongside existing queue controls and settings. * Add timed or continuous, bounded discovery with manual request keys, visitor filters, selective structure inspection and deduplicated schema changes. Unchanged structures do not trigger updates. * Add reviewed nested sanitation schemas, processor drafts and authorized guest/logged-in dry tests supporting JSON and form samples without executing handlers or queuing events. * Fix object-array array_fields sanitation and inherited nested array rules. Generic replay validation checks nested required fields, structures, numeric types, limits and unknown fields. * Preserve raw MU payload escaping, initialize nonce authentication for captured requests and defer visitor-filter authentication for ordinary requests. Support local-port PixelYourSite tests. * Add sampled regular, early-capture, rejected and background timings, with automatic creation of inventory and timing tables. No automatic duplicate live requests are sent for benchmarking. 2026-10-02 - version 1.1.16 * Add cumulative request counters by key and method during discovery or selected inspection. Use atomic increments and visitor filters; pause when both modes are inactive and do not backfill earlier traffic. * Automatically add the counter column while preserving existing inventory and schemas. Counting adds one database update per observed request without rewriting unchanged schema metadata. 2026-10-03 - version 1.1.17 * Scroll and focus the schema editor after Configure, and the affected parameter after Review, including long request inventories. * Show loading and failure messages in view, hide stale editors after failures, and preserve save confirmation. Add browser checks for both entry points and detail-request errors. 2026-10-03 - version 1.1.18 * Compare regular and optimized request times side by side, showing counts, ranges, time saved and reduction. Exclude background processing and failed requests from successful means. * Refresh the Benchmarks tab on entry, add explicit refresh and session status, and report unreadable timing storage. * Guarantee an initial sample for each request/method/mode, then apply the configured rate. Arm timing before inspection, measure successful capture before shutdown and regular requests at WordPress shutdown entry, and prevent duplicate samples. 2026-10-03 - version 1.1.19 * Make Settings the first and default tab, combining queue statistics and recovery controls with existing settings and processor controls. * Map old overview links to Settings while preserving other tab links and responding to hash navigation. 2026-10-07 - version 1.1.20 * Add an administrator-only support JSON export of recorded metadata, schemas, processor settings and queue/benchmark totals. Exclude request values, queued payloads and raw errors. * Show current Required, Optional or Unconfigured rules beside historical schema differences and explain missing-required semantics and retained history. * Record query/body origin and first-recorded time for new differences while retaining zero writes for unchanged observations. 2026-10-07 - version 1.1.21 * Respect known processor methods in early capture, request queue controls and schema changes. PixelYourSite REST GET stays unqueued without POST-schema missing-required warnings; preserve method-specific inspection and unknown custom processor behavior. * Observe the same REST input as capture, excluding query-only artefacts from POST payload metadata. Hide unsupported-method historical warnings but retain them for support export. * Add optional UTM fields and a 2048-byte schemeless event URL text limit to PYS REST defaults. Keep approved overrides intact and document manual adjustments and processor-provided required flags. 2026-10-07 - version 1.1.22 * Add bounded support diagnostics for queue records, including method, status, attempts, timestamps, coded errors and current worker registry/result-awareness checks. Do not export payload values or raw errors. * Stamp new captures with generated MU version and processor class. Distinguish installed header, runtime and loaded MU versions from historical records; unavailable historical capture versions remain unknown. * Keep diagnostic export read-only with respect to the queue; no processing, retry, deletion or schema changes. 2026-10-07 - version 1.1.23 * Move queue statistics and recovery controls above the tabs, visible in every admin view. Keep Settings first and retain configuration, processor controls and existing tab links. 2026-10-09 - version 1.1.24 * Align single-line input/select heights and center admin button labels and icons. Preserve checkbox/radio sizes, textarea behavior and hidden controls; use larger controls on mobile. 2026-10-11 - version 1.1.25 * Continue through the regular WordPress lifecycle when QACP capture validation fails; do not queue or terminate the request. Original handlers retain their own permission, nonce and payload checks. * Restore original request globals on fallback, retain optional diagnostics without blocking handling, and keep successful capture and isolated test endpoints unchanged. * Benchmark fallback as regular lifecycle traffic. The disabled-route background processor lookup issue is unchanged. 2026-10-11 - version 1.1.26 * Add off-by-default timed recording for live QACP validation fallbacks in Testing, grouped by AJAX/REST request key and method. Show aggregate counts above tabs without recording request values. * Expire recording automatically, retain cumulative totals when stopped, and provide independent refresh/clear controls. Keep counters separate from benchmark samples and preserve normal handling on storage errors. * Include recording settings in support exports and reuse existing aggregate storage without a database migration. 2026-10-13 - version 1.1.27 * Keep Validation fallbacks visible above the tabs when recording is off or expired and no counts exist. Retain refresh access, show an explicit empty state and preserve stored counts. 2026-10-20 - version 1.1.28 * Observe WooCommerce wc-ajax query endpoints using wc-ajax: identifiers. Reuse bounded discovery/counts, selected parameter inspection, audience filters and regular lifecycle timings. * Keep WooCommerce AJAX observation-only and bypass early capture even with a matching action mapping. Support approved-schema dry tests without processors or execution of checkout/payment handlers. 2026-10-21 - version 1.1.29 * Count requests with schema differences separately from actual capture-validation failures while enabled-route schema monitoring is active. Respect its audience and retain the optional all-visitor timed recorder without duplicate counting. * Put persistent live recording results in Testing with explicit recording states, UTC observation dates, independent clearing and a summary/View results above tabs. No request values are retained or historical counts invented. * Automatically upgrade aggregate storage to retain dates without dropping existing totals. Keep counters independent of benchmark clearing and warning dismissal. Stop capture also stops automatic schema monitoring. 2026-10-21 - version 1.1.30 * Record and show only POST requests in monitoring, schema changes, Testing and Benchmarks. Preserve legacy records for support and leave queue processing unchanged. * Add persistent Hide request and Restore request controls. Stop all observation/counter/timing writes for hidden keys while preserving records, schemas and queue configuration. Exclude hidden and non-POST entries before visible inventory limits. 2026-10-23 - version 1.1.31 * Add a cookie-storage checkbox in Settings, enabled by default. Disabling it stores no cookie values in new AJAX/REST queue entries while preserving the compatible empty cookie collection and live authentication. * Include the preference in support exports. Do not purge historical queue data or backups, remove user IDs or alter approved request parameters. Cookie-less and legacy payload processing is regression tested.