WordPress 6.0.1 修补了安全漏洞、修正了17个问题

微信公众号:WordPress迷 414 2022-07-12

此维护版本包含 13 个核心错误修复和18 个块编辑器错误修复。

Trac 的以下核心票证已修复:

#55668 – skipOnAutomatedBranches() 没有按预期工作,取 2
#55681 – /themes REST API 端点中不存在块模板主题支持
#55808 – 关于页面:替换视频缩略图
#55810 – 二十:由于缺乏功能更改,取消了版本号。
#55837 – WP_Term_Query 缓存问题
#55890 – 选项“user_count”未在单个站点上初始化或更新
#55997 – 从 oembed 允许列表中删除聚会
#56058 – 从 Gutenberg 向后移植错误修复到 WP 6.0.1 的核心
#56093 – 从元数据注册评论查询循环以启用标题和描述翻译。
#56097 – 目录中所有主题的主题预览都存在错误
#56126 – 模式关键字未从模式目录传递
#56163 – 新帖子的默认模板应该是“Single”,而不是“404”
#56197 – 持续发布锁定数据不一致

来自 GitHub 的以下块编辑器问题已修复:

PR40329 – 媒体和文本:从模板中删除字体大小声明
PR40560 – 重构:在评论和评论表单中重用编辑器占位符的代码
PR40563 – 改进评论表单占位符的警告逻辑
PR40593 – [块库 – 最新帖子]:防止在编辑器中打开链接
PR40671 – 导航块“点击打开”:继承字体样式和字体粗细
PR40710 – 修复/阻止元图标道具错误
PR40799 – 确保在解析新帖子的模板时只修改主查询
PR40859 – 在 render_block_core_cover 中去除空格
PR41328 – 处理块变换菜单中的无变化情况
PR41354 – 块库:修复头像块中的 JS 错误
PR41423 – 降低画廊间隙 css 的优先级,使其在块布局 css 之后加载
PR41487 – 将实用程序类名添加回具有指定布局属性的块
PR41603 – 发表评论表格:添加按钮,允许评论警告
PR41627 – 评论块:修复了自定义字体大小和链接颜色的问题
PR41631 – 评论作者和日期块:与前端对齐的编辑器标记
PR41827 – 帖子模板:确保布局类名不附加到内部 li 元素
PR41844 – Webfonts API:记录 fontFace 及其在 theme.json 模式中的值
PR41907 – 粘贴:修复由于 removeWindowsFragments 导致的性能回归
PR42131 – 发表评论表格:修复警告 i18n

更新包列表

@wordpress/block-directory@3.4.13
@wordpress/block-editor@8.5.9
@wordpress/block-library@7.3.13
@wordpress/components@19.8.5
@wordpress/customize-widgets@3.3.13
@wordpress/edit-post@6.3.13
@wordpress/edit-site@4.3.13
@wordpress/edit-widgets@4.3.13
@wordpress/editor@12.5.9
@wordpress/format-library@3.4.9
@wordpress/icons@8.2.3
@wordpress/interface@4.5.6
@wordpress/list-reusable-blocks@3.4.5
@wordpress/nux@5.4.5
@wordpress/plugins@4.4.3
@wordpress/preferences@1.2.5
@wordpress/reusable-blocks@3.4.9
@wordpress/server-side-render@3.4.6
@wordpress/widgets@2.4.9

修订文件清单

wp-admin/css/themes-rtl.css
wp-admin/css/themes-rtl.min.css
wp-admin/css/themes.css
wp-admin/css/themes.min.css
wp-admin/includes/misc.php
wp-admin/about.php
wp-content/themes/twentyten/readme.txt
wp-content/themes/twentyten/style.css
wp-includes/assets/script-loader-packages.php
wp-includes/block-supports/layout.php
wp-includes/blocks/comment-author-name/block.json
wp-includes/blocks/comment-date/block.json
wp-includes/blocks/comment-edit-link/block.json
wp-includes/blocks/comment-reply-link/block.json
wp-includes/blocks/navigation/style-rtl.css
wp-includes/blocks/navigation/style-rtl.min.css
wp-includes/blocks/navigation/style.css
wp-includes/blocks/navigation/style.min.css
wp-includes/blocks/post-comments-form/editor-rtl.css
wp-includes/blocks/post-comments-form/editor-rtl.min.css
wp-includes/blocks/post-comments-form/editor.css
wp-includes/blocks/post-comments-form/editor.min.css
wp-includes/blocks/comment-date.php
wp-includes/blocks/cover.php
wp-includes/blocks/gallery.php
wp-includes/blocks/index.php
wp-includes/blocks/post-template.php
wp-includes/css/dist/block-library/editor-rtl.css
wp-includes/css/dist/block-library/editor-rtl.min.css
wp-includes/css/dist/block-library/editor.css
wp-includes/css/dist/block-library/editor.min.css
wp-includes/css/dist/block-library/style-rtl.css
wp-includes/css/dist/block-library/style-rtl.min.css
wp-includes/css/dist/block-library/style.css
wp-includes/css/dist/block-library/style.min.css
wp-includes/js/dist/block-directory.js
wp-includes/js/dist/block-directory.min.js
wp-includes/js/dist/block-editor.js
wp-includes/js/dist/block-editor.min.js
wp-includes/js/dist/block-library.js
wp-includes/js/dist/block-library.min.js
wp-includes/js/dist/blocks.js
wp-includes/js/dist/blocks.min.js
wp-includes/js/dist/components.js
wp-includes/js/dist/components.min.js
wp-includes/js/dist/compose.js
wp-includes/js/dist/compose.min.js
wp-includes/js/dist/customize-widgets.js
wp-includes/js/dist/customize-widgets.min.js
wp-includes/js/dist/data.js
wp-includes/js/dist/data.min.js
wp-includes/js/dist/edit-post.js
wp-includes/js/dist/edit-post.min.js
wp-includes/js/dist/edit-site.js
wp-includes/js/dist/edit-site.min.js
wp-includes/js/dist/edit-widgets.js
wp-includes/js/dist/edit-widgets.min.js
wp-includes/js/dist/editor.js
wp-includes/js/dist/editor.min.js
wp-includes/js/dist/keyboard-shortcuts.js
wp-includes/js/dist/keyboard-shortcuts.min.js
wp-includes/js/dist/plugins.js
wp-includes/js/dist/plugins.min.js
wp-includes/js/dist/server-side-render.js
wp-includes/js/dist/server-side-render.min.js
wp-includes/js/dist/viewport.js
wp-includes/js/dist/viewport.min.js
wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
wp-includes/block-template.php
wp-includes/class-wp-oembed.php
wp-includes/class-wp-term-query.php
wp-includes/option.php
wp-includes/theme.php
wp-includes/version.php

WordPress下载

可通过后台更新,更新失败的用户请看解决方法:

两篇文章都需要看一下,如果你更新失败了,必须通过第一篇文章的方法来解决。

微信公众号的用户请点击“阅读原文”下载。

WordPress下载

本文由 微信公众号:WordPress迷 转载发布。

转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。本网转载其他媒体之稿件,意在为公共提供免费服务。如稿件版权单位或个人不想再本网发布,可与本网联系,核实后将立即将其删除。 本文地址:https://www.maosiji.com/wordpress-6-0-1.html

转载地址:WordPress 6.0.1

认识文字就能看懂的
微信公众号

站长微信