Repository navigation
Releases: Kntnt/kntnt-unlink-unpublished
Releases · Kntnt/kntnt-unlink-unpublished
Release list
v0.2.0
Added
- Redirects on a 404 to a page that isn't live are vetoed, and the address answers with its own 404 or 410 through the theme's 404 template. This covers Slim SEO's automatic redirection, which sent a page that had been in the trash to its ID form – or a draft's ID form to itself – and WordPress's old-slug redirect for a post renamed while published and later unpublished. With debug logging on, each veto is written to the debug log.
Full changelog: https://github.com/Kntnt/kntnt-unlink-unpublished/blob/v0.2.0/CHANGELOG.md
v0.1.0
Added
- Links to unpublished, private and deleted pages render as plain text at render time, or are left out where the element is nothing but a link, and come back when the pages are published – without changing stored content.
- Drop markers for text and blocks that exist only for their links: a rich-text format and a block toggle.
- 404 without guess redirects at the address of an unpublished page, 410 at the address of a deleted one, and the request state for themes through a function, body classes and the block Unavailable page notice.
- Last public URLs, recorded when a page is unpublished and seeded on activation, and tombstones for deleted pages.
- Editor markers for links to unpublished, private and deleted pages.
- Site Health tests for links to deleted pages, published pages whose address redirects and links currently hidden.
- The actions
kntnt_unlink_unpublished_purge_urlsandkntnt_unlink_unpublished_purge_allfor page caches. - Support for sites with one language, with Bogo and with Polylang, and two hooks through which any other multilingual plugin connects: the action
kntnt_unlink_unpublished_permalinks_changedand the filterkntnt_unlink_unpublished_hosts. - Swedish translation.
Full changelog: https://github.com/Kntnt/kntnt-unlink-unpublished/blob/v0.1.0/CHANGELOG.md