Files
wp-healthcheck/updates.json
Steve Hanlon bf226e4174 Release 0.1.6 — fix AJAX step-save listeners never attaching (hc-5yy)
The 0.1.5 auto-save never fired: the inline <script> is emitted before the
step cards in the markup, so document.querySelectorAll('form.att-hc-step-save')
ran at parse time against a DOM with no forms yet and attached no listeners —
changing status or blurring notes produced no request at all.

The pre-existing step-history loader had the identical latent defect (its
"Previous notes" expander was also dead on live for the same reason).

Fix: both inline scripts now defer their querySelectorAll wiring to
DOMContentLoaded, so it runs after the cards are parsed. No reordering of the
markup, so the <style> blocks stay put and there's no flash of unstyled UI.

Bumps header, ATT_HC_VERSION and updates.json so PUC offers it to the sites
already on the broken 0.1.5. Plugin-only; server untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 08:37:07 +01:00

16 lines
620 B
JSON

{
"name": "ATT Site Healthcheck",
"slug": "att-site-healthcheck",
"version": "0.1.6",
"author": "Steve Hanlon",
"requires": "6.0",
"tested": "6.6",
"requires_php": "7.4",
"last_updated": "2026-07-27 08:36:43",
"download_url": "https://git.h12e.com/steve/wp-healthcheck/archive/main.zip",
"sections": {
"description": "Walks a technician through a structured WordPress site healthcheck. Steps are drop-in PHP files so adding/removing one is a single file change.",
"changelog": "See git log at https://git.h12e.com/steve/wp-healthcheck/commits/branch/main"
}
}