WordPress 5.1 Beta 2 釋出,將於2月21日推出正式版
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 (relateddev 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/