Skip to content

v1.1.4

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Oct 17:34

Fixed

  • Static posts page (page_for_posts) never purged: with a static front
    page, publishing a post invalidated only home_url('/') — never the actual
    article listing. post_urls() now includes the posts page with its pretty
    (/page/N/) and query (?paged=N) pagination variants.
  • Scheduled (WP-Cron) publishing never purged: future → publish fires no
    save_post, only the status transition, which was handled for unpublishing
    only. transition_post_status now purges in both directions, with
    future_to_publish / publish_future_post as a cron-safety net.
  • Pretty pagination siblings left stale: each /page/N/ (and
    /comment-page-N/) is a separate cache file; purge_url() now expands them
    for any purged URL, so manual/CLI purges cover pagination too.
  • Custom taxonomies and CPT archives: invalidation looped only over
    category/post_tag and never purged the post-type archive; it now covers
    every taxonomy of the post type plus get_post_type_archive_link().
  • Reading-settings and Customizer changes: show_on_front /
    page_on_front / page_for_posts / sticky_posts and
    customize_save_after (which previously never purged) now trigger a full
    purge; media edits (edit_attachment) invalidate the parent post.
    8 new unit tests; PHPStan/PHPCS green.