• v0.3.0 2f2046a809

    v0.3.0 Stable

    hanyixuanten released this 2026-07-31 19:56:27 +08:00 | 11 commits to master since this release

    Full Changelog: https://github.com/hanyixuanten/HTBD/compare/v0.2.4...v0.3.0

    New Features

    • Added automatic source-language detection using Baidu Translate's auto mode.
    • Added redirects for target-language wp-admin and wp-login.php requests to the corresponding source-site URLs.
    • Preserved query parameters when redirecting administration and login requests.

    Release Automation

    • Added automated GitHub Release packaging.
    • Added automated deployment from GitHub Releases to WordPress.org SVN.
    • Improved package validation for runtime files, localization resources, stable tags, and legacy filenames.

    Compatibility

    • Requires WordPress 6.4 or later.
    • Requires PHP 8.1 or later.
    • Existing translation data and manually configured source languages remain supported.

    Upgrade Notes

    Automatic source-language detection is opt-in and stored independently from the configured source language. Existing installations retain their current source-language behavior until the option is enabled.

    新增功能

    • 新增使用百度翻译 auto 模式自动识别源语言的功能。
    • 新增目标语言路由下 wp-adminwp-login.php 请求到源站对应地址的重定向。
    • 管理后台和登录请求重定向时会保留查询参数。

    发布自动化

    • 新增 GitHub Release 自动打包流程。
    • 新增从 GitHub Release 自动部署到 WordPress.org SVN 的流程。
    • 改进安装包校验,覆盖运行时文件、本地化资源、稳定版本号和旧版文件名。

    兼容性

    • 需要 WordPress 6.4 或更高版本。
    • 需要 PHP 8.1 或更高版本。
    • 继续支持已有翻译数据和手动配置的源语言。

    升级说明

    自动识别源语言为可选功能,其状态与配置的源语言独立保存。现有安装会继续使用原有的源语言设置,直到管理员主动启用自动识别。

    Downloads