Fixed: Changing or replacing a closure period had no effect because persistent object caches (Redis, Memcached) were serving stale option data. The closed check and shortcode now read closure periods directly from the database, bypassing the object cache entirely. Saves also explicitly evict the cached value before and after writing.
Fixed: After saving settings, the redirect pointed to admin.php instead of options-general.php, which is the correct parent for pages registered via add_options_page(). This caused the “Settings saved” notice to be lost on redirect.
Fixed: Settings error notices were not persisted to a transient before the redirect, so they never appeared after the page reloaded. A set_transient() call now preserves them correctly.
Introduced [closeupshop_reopen_time] shortcode for real‑time reopening info (replaces former placeholder approach).
Rewrote admin Add / Remove row JavaScript; fixed Remove button not working due to missing type=”button”.
All date/time comparisons now use DateTimeImmutable in the site time‑zone for robustness.
Added nocache_headers() and DONOTCACHEPAGE constants to prevent cached “Shop Closed” pages.
Code clean‑up, documentation refresh, version bump.
Re‑architected period‑selection logic (chooses latest ending active period or earliest upcoming).
Switched to short‑code driven message so reopening time updates without resaving settings.
Added helper utilities and improved sanitisation.
Initial public release after renaming project to Close Up Shop.
Plugin Website
Visit website
Share Post
Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.