Skip to content

Cleanup before release#11

Merged
flopper123 merged 9 commits intomainfrom
cleanup-before-release
Jan 24, 2026
Merged

Cleanup before release#11
flopper123 merged 9 commits intomainfrom
cleanup-before-release

Conversation

@flopper123
Copy link
Copy Markdown
Contributor

Pre-Release Cleanup

  • Updated copyright year from 2024 to 2026
  • Removed outdated "track_logged_in" feature claims from readme.txt (feature list, FAQ, and changelog)
  • Fixed Dashboard link in plugin action links to use static URL (removed site_id suffix and conditional check)

Bug Fixes

  • Fixed server_url being reset to default when saving settings (now only updates if explicitly provided in form input)
  • Fixed wp_localize_script not checking the enabled subkey for trackDownloads and trackCustomHtmlAttr options
  • Fixed empty event properties outputting as [] instead of {} by adding JSON_FORCE_OBJECT flag

Feature Rename: track_css_events to track_custom_html_attribute

  • Renamed option key from track_css_events to track_custom_html_attribute across all files
  • Updated JavaScript config property from trackCssEvents to trackCustomHtmlAttr
  • Updated UI label from "CSS Class Events" to "Custom HTML Attribute Events"
  • Updated description text to reference data-betterlytics-event attribute

Demo Environment Improvements

  • Added pretty permalinks setup to demo-setup script in docker-compose.yml
  • Added mu-plugins volume mount to main WordPress container so demo page renders correctly
  • Added "Dashboards" link to demo test page Quick Links section
  • Added "HTML Attribute Testing" section to demo test page
  • Updated demo config to have tracking disabled by default with empty site_id

@flopper123 flopper123 requested a review from Woldbye January 24, 2026 13:07
@flopper123 flopper123 self-assigned this Jan 24, 2026
@flopper123 flopper123 merged commit 0f91999 into main Jan 24, 2026
3 checks passed
@flopper123 flopper123 deleted the cleanup-before-release branch January 27, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant