WordPress 5.1 测试版 Beta 2 现已发布。WordPress 5.1 目前正在开发中,不建议在生产环境中使用。不过官方表示 WordPress 5.1 正式版将于2月21日发布。
下载地址:https://wordpress.org/wordpress-5.1-beta2.zip
此外,在2019年4月,WordPress 会将其支持的最低 PHP 版本变更为 5.6。为了帮助用户检查是否已准备好进行此更改,WordPress 5.1 将向用户提示警告,并在必要时帮助升级 PHP 版本。
自 beta 1 发布以来已关闭超过 110 个工单,其中许多是针对文档和测试套件的改进。以下是主要变更和错误修复:
Several refinements and bug fixes related to the Site Health project have been made.
The
pre_render_block
andrender_block_data
filters have been introduced allowing plugins to override block attribute values (#45451, dev note coming soon).get_template_part()
will now return a value indicating whether a template file was found and loaded (#40969).A notice will now be triggered when developers incorrectly register REST API endpoints (related dev note).
Bulk editing posts will no longer unintentionally change a post’s post format (#44914)
Twemoji has been updated to the latest version, 11.2.0 (#45133).
A bug preventing the Custom Fields meta box from being enabled has been fixed (#46028).
The treatment of
orderby
values forpost__in
,post_parent__in
, andpost_name__in
has been standardized (#38034).When updating language packs, old language packs are now correctly deleted to avoid filling up disk space (#45468).
详情请查看:https://wordpress.org/news/2019/01/wordpress-5-1-beta-2/