Releases: cemfirat/wordpress-doctype-Inserter
Releases · cemfirat/wordpress-doctype-Inserter
Release list
Doctype Inserter v1.2.4
Requires WordPress: 5.8
Requires PHP: 7.4
- Fix the WordPress Check again path so the plugin's release metadata cache is cleared before WordPress performs its plugin update check.
- Clear WordPress's own plugin-update transient on an explicit manual refresh, ensuring a newly published GitHub release is actually fetched immediately.
Doctype Inserter v1.2.3
Requires WordPress: 5.8
Requires PHP: 7.4
- Preserve source-like Simple comment text, including HTML-looking examples, percent-encoded URLs, dollar signs, backslashes and line breaks.
- Validate text encoding and remove NUL bytes instead of using WordPress's generic textarea sanitizer, which strips or rewrites some harmless source-message content.
- Extend real WordPress and HTTP integration tests to verify exact persistence and output.
Doctype Inserter v1.2.2
Requires WordPress: 5.8
Requires PHP: 7.4
- Fix the first switch from a legacy Advanced snippet to Simple comment mode on upgraded installations.
- Preserve ordinary double hyphens in Simple comment mode.
- Neutralize only HTML comment delimiter sequences that would make the generated comment non-conforming.
- Exercise Simple mode, its permissions, upgrade persistence and the output toggle in real WordPress/HTTP integration tests.
Doctype Inserter v1.2.1
Requires WordPress: 5.8
Requires PHP: 7.4
- Restore the complete GNU GPL v2 license text in
LICENSE. - Add a packaging guard so an empty or truncated license cannot be shipped again.
- No runtime behavior changes from 1.2.0.
Doctype Inserter v1.2.0
Requires WordPress: 5.8
Requires PHP: 7.4
- Add a Simple comment mode that turns plain text into a safe HTML comment after the doctype.
- Keep existing 1.0/1.1 snippets unchanged and automatically select Advanced mode for upgraded installations.
- Add a live escaped source preview and optional templates for website credits, hiring and developer greetings.
- Add an enable/disable switch that pauses output without deleting saved content.
- Add an on-demand home-page output check to help diagnose page caches and HTML minification.
- Add project/help links, Cem Firat author metadata, and GPL-2.0-or-later license metadata and file.
- Keep the bounded streaming output engine and GitHub update behavior from 1.1.
Doctype Inserter v1.1.0
Requires WordPress: 5.8
Requires PHP: 7.4
- Use English throughout the settings, plugin metadata, messages and documentation.
- Preserve snippets exactly, including
$1, backslashes and the string0. - Require both
manage_optionsandunfiltered_htmlwhen saving raw snippets; retain the previous value on invalid submissions. - Escape snippets in the editor and preserve the Settings API nonce protection.
- Skip non-HTML requests and responses, downloads, redirects and fixed-length or encoded output.
- Stream output after finding the document doctype; limit preamble inspection to 64 KiB and handle doctypes split across flushes.
- Preserve the existing
doctype_inserter_textoption. - Discover stable GitHub releases through the native WordPress update mechanism with cached metadata, safe failure handling and a version details dialog.
- Keep the installed plugin folder during updates, including custom folder names.
- Add automated regression checks, WordPress integration tests and reproducible release ZIPs.
Version 1.0 needs one manual upgrade because it does not contain an update client.