Releases: ivanusto/zh-to-en-slug
Releases · ivanusto/zh-to-en-slug
Release list
Release v1.3.0
Full Changelog: v1.2.2...v1.3.0
v1.2.2
Important
v1.2.1 was broken — the settings page and slug translation did not work at all. Please update to this version.
Install using the attached zh-to-en-slug-1.2.2.zip below — not the auto-generated "Source code" zip.
Changes
- Fix: the duplicate-class guard added in 1.2.1 always triggered due to PHP compile-time class binding, which disabled the entire plugin (no settings page, no slug translation). The class declaration is now conditionally wrapped instead, which is safe for side-by-side installs and actually works.
- Fix: remove the
Domain Pathheader pointing to a folder not shipped in the release package (Plugin Check warning).
This release was verified in a clean WordPress install (settings page renders, Chinese-titled posts save normally) before publishing.
Full changelog: https://github.com/ivanusto/zh-to-en-slug/blob/main/readme.txt
v1.2.1
Changes
- Fix: guard against duplicate class declaration when two copies of the plugin are installed side by side
- Fix: bump "Tested up to" to WordPress 7.0
- Dev: extend
.distignoreand silence the Plugin Check warning on the uninstall cleanup query - Dev: ship a proper distribution zip (top-level folder
zh-to-en-slug) as a release asset - Fix HTML entities leaking into slugs by requesting plain-text translations (format=text)
Fix empty slugs when max length is set too low (clamp to 20-200 with a hard floor)
Fix PHP notice when saved options were missing a key (defaults merged via wp_parse_args)
Widen Chinese detection to cover CJK Extension A and the full basic CJK block
Cache translation results in transients for 7 days to reduce API calls
Lower API timeout from 15s to 8s so saving never hangs on a slow API
Add capability check to the API test AJAX endpoint
API key field now uses a password input
Add uninstall.php to clean up options and cached translations on removal
Add cts_allowed_statuses filter; scheduled, pending, and private posts are now processed too
Modernize register_setting to the args-array signature
Full changelog: https://github.com/ivanusto/zh-to-en-slug/blob/main/readme.txt