1. 博客主首页
  2. 未分类

2018年8月2日,WordPress 4.9.8向公众发布。

安装/更新信息

要下载WordPress 4.9.8,请从您网站管理区域的仪表板>更新菜单自动更新,或访问https://wordpress.org/download/release-archive/

有关安装和更新WordPress的分步说明:

  • 更新WordPress

如果您是WordPress的新手,我们建议您从以下开始:

  • 新的WordPress – 从哪里开始
  • 使用WordPress或升级WordPress Extended的第一步
  • WordPress课程

概要

4.9.8的主要重点是:

  • 介绍“试试Gutenberg”标注
  • 隐私修复/增强功能

介绍“试试Gutenberg”标注

“试试Gutenberg”是WordPress用户在WordPress 5.0发布之前试用Gutenberg块编辑器的机会。在WordPress 4.9.8中,用户将在其WordPress管理仪表板上看到邀请以尝试Gutenberg。

“试试Gutenberg”WordPress 4.9.8  中的标注包含有关标注的更多信息,包括默认情况下会向哪些用户显示标注以及它为网站管理员修改默认行为提供的挂钩。

隐私修复/增强功能

此版本包括18个隐私修复,专注于确保4.9.6中添加的新个人数据工具的一致性和灵活性,包括:

  • 正在确认的请求类型现在包含在所有隐私确认电子邮件的主题行中。
  • 改进了与多站点中用于隐私电子邮件的站点名称的一致性。
  • 增加了几个核心隐私功能的测试覆盖率。
  • 现在可以调整隐私请求管理屏幕的分页。

除了主要关注点之外,4.9.8中另一个值得注意的变化是开发人员现在可以为对象子类型注册元键

使用WordPress 4.9.8,register_meta()函数不仅支持整个对象类型(帖子,术语,注释,用户)的元数据注册,还支持特定对象子类型(例如特定的帖子类型或分类)的元数据注册。

从WordPress 4.9.8发布文章:此维护版本修复了46个错误,增强功能和祝福任务,包括更新Twenty Seventeen捆绑主题。

查看Trac中已关闭票证的完整列表:

行政

  • #44611 – 在狭窄的屏幕上尝试Gutenberg标题包裹下面的文字
  • #44627 – 尝试Gutenberg标注格式的小调整

捆绑主题

  • #44109 – TwentySeventeen后端编辑器:嵌套在编号列表下的2级项目符号列表显示数字而不是项目符号
  • #44646 – 捆绑主题:Bump版本号和更新更新日志在Twenty Seventeen for 4.9.8发行版

注释

  • #44126 – 向comments_form args添加字段可防止显示复选框
  • #44141 – 隐私:不要用任何内容替换评论作者URL和电子邮件
  • #44342 – 如果没有挂钩cookie动作,则不应显示评论者cookie同意消息

定制

  • #44104 – 自定义:尝试计算不可数值

编辑

  • #41316 – 介绍“试试Gutenberg”标注
  • #44341 – 用apply_filters_deprecated()替换_deprecated_function(’add_filter’)
  • #44680 – 限制Try Gutenberg标注受众

表情符号

  • #44339 – 表情符号:将Twemoji更新为11.0

文件系统API

  • #43054 – wp_is_stream失败,流定义包含nonascii字符

国际化

  • #44139 – i18n:“关于”消歧
  • #44574 – 萨拉托夫和其他城市翻译失踪

登录和注册

  • #44052 – 缺少`login_header()`的参数类型

媒体

  • #44532 – WordPress 4.9.7中wp-includes / functions.php中与wp_is_stream相关的极端内存泄漏
  • #43751 – REST API:附件控制器应尊重多站点中的“最大上载文件大小”和“站点上载空间”

选项,Meta API

  • #38323 – 重新考虑`register_meta()`中的$ object_subtype处理

帖子,帖子类型

  • #36085 – 为get_inline_data()添加动作钩子

隐私

  • #44006 – 隐私政策页面应具有其他特殊页面的后缀
  • #44025 – 隐私:请求列表表的分页屏幕选项
  • #44099 – 为GDPR的管理员电子邮件主题添加请求类型
  • #44100 – GDPR隐私页面设置允许草稿页面
  • #44130 – 隐私设置页面上的隐私政策的混合案例
  • #44131 – 如果为隐私政策页面选择的草稿页面应该从视图更改为预览
  • #44181 – 输入字段id username_or_email_to_export应该是remove_personal_data页面上的其他内容
  • #44192 – 登录页面未使用的隐私政策页面标题
  • #44195 – “沉默是金色的”index.html产生输出
  • #44265 – 为电子邮件主题添加过滤器以进行删除完成通知
  • #44353 – 在`wp_send_user_request()中替换`site_url(’wp-login.php’)`
  • #44373 – 添加隐私设置以禁用评论Cookie同意
  • #44379 – GDPR过滤器应提供$ request或$ request_id
  • #44382 – 在_wp_privacy_send_request_confirmation_notification中过滤主题
  •  44396 – 在隐私电子邮件中使用blogname和sitename不一致
  • #44612 – 语法 – 在“选择新的隐私政策页面”中遗漏“a”
  • #43967 – 电子邮件确认后的管理员电子邮件不适用于数据隐私请求
  • #44590 – 删除“// WPCS:”评论

REST API

  • #40861 – REST API在Windows平台上保存带有“_wp_attached_file”绝对路径的附件
  • #43874 – REST API:仅在使用_fields =时呈现特定于请求的字段
  • #44321 – REST API:在Post响应中公开修订计数和最后修订ID

角色/能力

  • #44287 – REST API:声明用户使用JSON Hyper Schema`targetSchema`执行操作的功能

分类

  • #42691 – WP_Term_Query get_terms生成无效的sql查询
  • #44096 – REST API:分类和术语端点应使用正确的权限检查

TinyMCE的

  • #44134 – 更新到TinyMCE 4.7.13
    • 请参阅TinyMCE更改日志。WordPress 4.9.6包括TinyMCE 4.7.11,WordPress 4.9.8更新到TinyMCE 4.8.0,尽管这张票的标题。
  • #44330 – TinyMCE:不要强制加载外部TinyMCE插件

修订的文件列表

/wp-admin/css/common.css
/wp-admin/css/dashboard.css
/wp-admin/includes/admin-filters.php
/wp-admin/includes/ajax-actions.php
/wp-admin/includes/class-wp-screen.php
/wp-admin/includes/continents-cities.php
/wp-admin/includes/dashboard.php
/wp-admin/includes/file.php
/wp-admin/includes/misc.php
/wp-admin/includes/schema.php
/wp-admin/includes/template.php
/wp-admin/includes/user.php
/wp-admin/js/dashboard.js
/wp-admin/js/updates.js
/wp-admin/about.php
/wp-admin/admin-ajax.php
/wp-admin/index.php
/wp-admin/options-discussion.php
/wp-admin/options.php
/wp-admin/plugins.php
/wp-admin/privacy.php
/wp-content/themes/twentyseventeen/README.txt
/wp-content/themes/twentyseventeen/assets/css/editor-style.css
/wp-content/themes/twentyseventeen/style.css
/wp-includes/js/tinymce/plugins/charmap/plugin.js
/wp-includes/js/tinymce/plugins/colorpicker/plugin.js
/wp-includes/js/tinymce/plugins/directionality/plugin.js
/wp-includes/js/tinymce/plugins/fullscreen/plugin.js
/wp-includes/js/tinymce/plugins/hr/plugin.js
/wp-includes/js/tinymce/plugins/image/plugin.js
/wp-includes/js/tinymce/plugins/image/plugin.min.js
/wp-includes/js/tinymce/plugins/link/plugin.js
/wp-includes/js/tinymce/plugins/lists/plugin.js
/wp-includes/js/tinymce/plugins/lists/plugin.min.js
/wp-includes/js/tinymce/plugins/media/plugin.js
/wp-includes/js/tinymce/plugins/paste/plugin.js
/wp-includes/js/tinymce/plugins/paste/plugin.min.js
/wp-includes/js/tinymce/plugins/tabfocus/plugin.js
/wp-includes/js/tinymce/plugins/tabfocus/plugin.min.js
/wp-includes/js/tinymce/plugins/textcolor/plugin.js
/wp-includes/js/tinymce/plugins/textcolor/plugin.min.js
/wp-includes/js/tinymce/plugins/wordpress/plugin.js
/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
/wp-includes/js/tinymce/plugins/wplink/plugin.js
/wp-includes/js/tinymce/plugins/wpview/plugin.js
/wp-includes/js/tinymce/skins/lightgray/content.inline.min.css
/wp-includes/js/tinymce/skins/lightgray/content.min.css
/wp-includes/js/tinymce/skins/lightgray/skin.min.css
/wp-includes/js/tinymce/skins/wordpress/wp-content.css
/wp-includes/js/tinymce/themes/inlite/theme.js
/wp-includes/js/tinymce/themes/inlite/theme.min.js
/wp-includes/js/tinymce/themes/modern/theme.js
/wp-includes/js/tinymce/themes/modern/theme.min.js
/wp-includes/js/tinymce/tinymce.js
/wp-includes/js/tinymce/tinymce.min.js
/wp-includes/js/twemoji.js
/wp-includes/js/wp-emoji-loader.js
/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
/wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php
/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
/wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php
/wp-includes/rest-api/fields/class-wp-rest-term-meta-fields.php
/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
/wp-includes/capabilities.php
/wp-includes/class-wp-customize-nav-menus.php
/wp-includes/class-wp-editor.php
/wp-includes/class-wp-term-query.php
/wp-includes/comment-template.php
/wp-includes/comment.php
/wp-includes/default-filters.php
/wp-includes/formatting.php
/wp-includes/functions.php
/wp-includes/general-template.php
/wp-includes/link-template.php
/wp-includes/meta.php
/wp-includes/post.php
/wp-includes/taxonomy.php
/wp-includes/user.php
/wp-includes/version.php
/wp-login.php

本文来自投稿,不代表博客主立场,如若转载,请注明出处:https://www.bokezhu.com/2018/08/04/277.html

发表评论

登录后才能评论