Skip to content

v2.6.8 - CRITICAL FIX: heartbeat.js was missing from zip (v2.6.5-2.6.7)

Choose a tag to compare

@hummelmose hummelmose released this 05 Aug 16:40
· 10 commits to main since this release

WP VisitChart v2.6.8

Critical fix — heartbeat.js was missing from packaged zip files in v2.6.5 through v2.6.7.


What happened

During the v2.6.4 rollback, only wp-visitchart.php, admin-dashboard.js, and admin-dashboard.css were restored from the v2.6.4 git tag — heartbeat.js was overlooked and remained absent from every zip built afterwards (v2.6.5, v2.6.6, v2.6.7).

heartbeat.js itself has been unchanged since v1.9.3 and was never buggy — the file was simply missing from the archive, causing a 404 on any site that installed one of the affected releases.


Impact

Without heartbeat.js, both live visitor tracking and the pageview ping fail silently. This results in undercounted heartbeats and roughly half the correct pageview totals — confirmed via direct SQL comparison against a third-party pageview counter running on the same site.

If you installed v2.6.5, v2.6.6, or v2.6.7: your pageview and traffic data for that period is likely undercounted by roughly 50%. There is no reliable way to reconstruct the missing heartbeat data retroactively — if you have another pageview counter running in parallel, you can use it to correct wp_lstats_post_views.views_today manually.


Fix

This release includes heartbeat.js. Verify the fix by checking your browser's network tab for a 200 response on heartbeat.js, or querying wp_lstats_post_views shortly after visiting an article to confirm updated_at reflects the visit.


Upgrade

Download wp-visitchart.zip below and replace the existing plugin files. No database changes required.