-
v1.2.2 Stable
released this
2026-08-03 02:44:32 +02:00 | 2 commits to main since this releaseA tune-up release: less work on every page load, and a readability fix for
multi-day events.⚡ Lighter on every page load
Three things were running on every request to your site, whether or not a
calendar appeared on the page:- Working out the asset cache-busting suffix meant walking every CSS and JS
file in the plugin and reading its timestamp. Outside debug mode the plugin
version is used directly — those files only change when the plugin updates. - The event capabilities were re-granted on every load — 26 of them, each
handing the entire roles list to the options API to compare. Now done once per
plugin version. Deactivating and reactivating still repairs roles if they ever
lose the capabilities. - The media library was being loaded on the event and category screens, left
over from the category image picker that 1.2.1 removed. That's several hundred
kilobytes of scripts and templates for a feature that no longer exists.
Nothing changes in how the plugin looks or behaves — it just stops doing work
nobody asked for.🐛 Multi-day events are readable again
The bar drawn across several days used the category's colour as its background
and the theme's text colour on top. When those two happened to be similarly
light or dark, the event title disappeared into its own bar — a pale category on
a dark site, or a dark one on a light site. Multi-day bars now use the category's
hue with a lightness picked for the current palette, so the label stays legible
whatever colour you chose. The coloured dots are unchanged: nothing is written
over them.🧹 Housekeeping
- Category images are fully retired. Importing no longer downloads a picture
per category into your media library — nothing ever displayed them. Existing
values are left untouched in the database.
Upgrading: nothing to do — no database changes. If your site runs a page
cache, flush it once after updating.Downloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
3 downloads
- Working out the asset cache-busting suffix meant walking every CSS and JS