维护版本WordPress 6.5.3现已推出!

此次要版本在 Core 中修复了 12 个错误,在块编辑器中修复了 9 个错误。

WordPress 6.5.3 是一个短周期版本。下一个主要版本将是计划于 2024 年 7 月发布的 6.6 版。

在Core 中修复的错误

  • Block Hooks: Incorrect context passed when setting ignored hooked blocks metadata

  • Patterns menu item, put back the context parameter.

  • wp_localize_script() on login_enqueue_scripts hook change in behavior

  • Some PHPUnit Tests are failing

  • Autoprefixer warning in src/wp-admin/css/media.css when running precommit:css Grunt task

  • Fatal error when passing non-strings to WP_Translation_Controller::load_file()

  • Classic Theme with theme.json attempts to load templates

  • Layout: Output of base layout rules conflicts with wide alignment of blocks in classic themes

  • Fix get_item_features() in class-avif-info.php

  • 6.5 adds the "is-layout-constrained" class to the wrong place for classic themes

  • Plugin management: AJAX plugin activation consequences

  • Update npm packages with bugfixes for 6.5.3

块编辑器中修复的错误

  • Layout: Skip outputting base layout rules that reference content or wide sizes if no layout sizes exist

  • Fix inserter pattern pagination focus loss

  • Fix static posts page setting resolved template

  • Font Library: Fix modal scrollbar

  • Interactivity API: Allow multiple event handlers for the same type with .

  • Layout: Always add semantic classes

  • List View: Fix stuck dragging mode in UI in Firefox when dealing with deeply nested lists

  • Don't output base flow and constrained layout rules on themes without theme.jsondata-wp-on

  • PHP unit test workflow: Try removing 7.0 and 7.1 to get CI tests passing