Repository navigation
v1.5.0 — /write-lang-file endpoint (no-SSH translation deploy)
Changes
- New
/masterc/v1/write-lang-fileendpoint — deploy translation files (.po/.mo/.json/.l10n.php) intowp-content/languages/{plugins,themes}/via REST. Enables gettext +wp.i18nReact string translations on sites without SSH access.- Security: strict filename whitelist (translation patterns only),
manage_optionscapability, no path traversal.
- Security: strict filename whitelist (translation patterns only),
- Includes v1.4.0 changes:
/optiondouble-encode fix +litespeed.conf.*whitelist.
Discovered during casaluxc tracking-setup dogfood — SureCookie modal buttons ("Accept All", "Reject All", "Confirm My Choices") are React gettext strings needing JSON i18n files.
🤖 Generated with Claude Code