Editloft 0.6199.0938
Editloft 0.6199.0938
A small one. Calendar entries now show the icon their post type registered.
I run a site with a dozen custom post types, and the calendar treated every one of them the same. A podcast episode, a service page, and an ordinary post all looked identical in the grid, so the only way to tell them apart was to read every title. The unscheduled sidebar and the content-type filter already showed the right icon for each type. The grid was the one place that did not, which made it the one place the week was hardest to read.
Now it matches. The icon a post type registers is the icon you see on the calendar.
In this release
- Calendar entries show their post type's icon, the same one the sidebar and the filter bar use. Types that register an image or a data URI are drawn too, and a type that never set an icon falls back to the standard post icon.
- Dragging an entry keeps its icon in both directions, onto a day and back into the unscheduled panel. It used to lose it until you reloaded the page, which looked like a bug because it was one.
- Dashicons take the colour of the entry they sit in, so they stay readable against every status.
Requirements
- WordPress 6.4 or later
- PHP 7.4 or later
Full notes are in CHANGELOG.md.