WordPress 4.6 Beta 2 发布

来源: OSCHINA
编辑: oschina
2016-07-07 00:00:00

WordPress 4.6 Beta 2 发布了,主要更新如下:

  • Meta: The fallback authentication for the previous registration method has been restored. Also, retrieving registered metadata now works and non-core object types are no longer forcibly blocked. See #35658.

  • REST API: The order of setting sanitization and validation has been reversed; validation now occurs prior to sanitization. Previously, the sanitization callback ran before the validation callback. See #37192.

  • Customize: The order of setting sanitization and validation has been reversed; validation now occurs prior to sanitization. See #37247.

  • HTTP API: WP_Http::request() returns an array again. See #37097.

  • Various bug fixes. We’ve made just over 50 changes in the last week.

如果你想进一步了解 WordPress 4.6 的变化,可以查看 WordPress 官方博客:WordPress 4.6 Beta 1

详情:https://wordpress.org/news/2016/07/wordpress-4-6-beta-2/

展开阅读全文
点击加入讨论🔥(1) 发布并加入讨论🔥
1 评论
0 收藏
分享
返回顶部
顶部