Query: use the site’s configured timezone instead of UTC when determining “today”, fixing a bug where the widget could show yesterday’s posts on sites with non-UTC timezones.
Caching: fix cache duration calculation to use consistent timezone-aware DateTime objects, and include the current date in the cache key for more reliable daily invalidation. Props @mrclicko.
[1.5.6] – 2025-12-16
Widget: add 2 new filters, jeherve_posts_on_this_day_widget_before_posts and jeherve_posts_on_this_day_widget_after_posts, allowing one to add extra markup around the list of posts in the widget.
[1.5.5] – 2023-05-08
Widget: add a new filter, jeherve_posts_on_this_day_widget_year_heading, allowing one to customize the heading used to display years in the widget.
[1.5.4] – 2023-04-27
Query: do not display private and password-protected posts in the widget.
[1.5.3] – 2021-08-06
Query: create new filter to allow setting a custom amount of years to fetch posts.
[1.5.2] – 2021-04-15
Caching: cache data until midnight of the same day, instead of caching it for 24 hours.
[1.5.1] – 2021-04-13
Add an option to only search for posts on the exact day, years past.
Improve the display of each post when no post thumbnail can be found.