WPML
发布时间
2016年4月27日
渠道
稳定版
已测试的 WordPress 版本
4.5

更新日志

  • 修复:模板和分页
  • WooCommerce 相关修复
  • 通过提供新钩子,添加了更改“heads_lang”元标签行为的功能
  • 错误修复

  • Templates and pagination

    • Wrong template being used in the search results for a second language when the front page has a template and there is no template for the search results
    • is_front_page() does not work when the URL contains the “lang” argument in addition to others arguments
    • Pagination issues in the default language with browser redirect enabled
    • Malformed paginated URL in the home page with plain permalinks and language as a parameter
    • Wrong pagination when using custom permalinks such as “/%postname%” without a trailing slash, and language as a parameter
    • Malformed pagination URL when displaying paginated content on the front page with “Post name” permalinks and language as a parameter
    • The second page of paginated content is not accessible in a secondary language with pretty permalinks and the same slug in translated content

  • WooCommerce related

    • 301 error on product pages
    • Different domains for each language; when switching language, the cart contents are not synchronized

  • Others

    • PHP Notice: Undefined offset: 0 in sitepress.class.php on line 2345
    • “Language as parameter” conflicts with browser redirection and the manually set home page
    • Added ability to change the behavior of the “heads_lang” meta tags by providing new hooks

更新或下载

所有拥有有效订阅的 WPML 客户均可获取此更新 — 它会在发布后 24 小时内出现在您 WordPress 管理后台的插件页面上。您也可以立即在插件 → 安装插件 → 商业下检查更新。要手动下载并安装,请前往您的 wpml.org 账户中的下载(请参阅安装说明),并请记住一起更新所有组件,不要混合使用不同版本。

需要帮助或想提供反馈?请使用我们的技术支持论坛

查看所有 WPML Multilingual CMS 版本 →