WordPress 4.4在12月8日正式发布,命名为“jazz musician Clifford Brown” ,新版本修复了许多Bug,并且新增了很多功能。
主要更新:
- 新主题2016:WordPress最新的默认主题,Twenty sixteen。新的主题更加适合做博客。
- 现代的经典的博客
- 灵活的头和有趣的配色方案使您的内容将闪耀
- 移动的第一反应
- 响应式图片(Responsive Images):WordPress将会根据不同条件,比如屏幕大小、窗口大小、屏幕分辨率等,来显示大小更匹配的图片。
- 嵌入内容(Embeds ):WordPress现在几乎可以嵌入所有支持oEmbed标准的网站的内容,包括Twitter, Flickr, YouTube等,并且新增Cloudup, Reddit Comments, ReverbNation, Speaker Deck, and VideoPress。
WordPress 4.4面向开发者的更新包括:
- REST API (第一部分) :原来WordPress REST API插件的底层架构,现在已经融入了WordPress核心代码。这是WordPress接口的重大更新,开发者可以使用WordPress开发更为多样的网站。
- 分类词元数据:WordPress 4.4给分类词增加了元数据(metadata)。这也是一个非常实用的更新。
- 改进<title>输出:wp_title()函数被废弃。WordPress现在自己来处理文章标题的渲染输出。
- 评论:评论队列将会被分割,以提高性能。
新增的内容
综合
- 开发人员参考对内联代码文档的改进。
- 国际化支持-改进翻译字符串在核心。
- 管理页面的标题进行了调整,从H3以H2标签来加强页面层次
- 如何列出表上显示的所有尺寸屏幕的改进
帖子
- 后/页面永久UI进行了简化,将永久删除“查看”按钮
评论
- “查看评论”的链接是从发表评论编辑屏幕元箱搬迁
- 许多评论功能现在可以接受一个完整的对象不是“comment_id ‘减少缓存/数据库查找
- 孤立的评论现在回到“edit_posts能力
外观
- 网站的图标现在将回落到“全尺寸的缩略图大小的URL时不存在”
安装过程
- 语言选择器添加到新的网站上wp-signup.php形式
官方的更新说明:
What’s New
General
- Developer reference – Improvements to inline code documentation.
- i18n support – Improvements to translation strings all over the core.
- Admin page headings were adjusted from H3 to H2 tags to reinforce page hierarchy
- Improvements to how list tables are displayed on all size screens
Posts
- The post/page permalink UI was simplified, linking the permalink and removing the “View” button
Media
Comments
- The “View Comment” link was relocated from the Publish meta box in the comment-editing screen
- Many comment functions can now accept a full object instead of ‘comment_ID’ to reduce cache/db lookups
- Orphaned comments now fall back to the ‘edit_posts’ capability
Appearance
- Site icons will now fall back to the ‘full’ size URL when the ‘thumbnail’ size doesn’t exist
Users
Install Process
Multisite
- The language chooser was added to the new site form on wp-signup.php
- Sites may no longer be created with the following reserved slugs: wp-admin, wp-content, wp-includes, or wp-json
Accessibility
Under The Hood
General
- Unclosed HTML elements in shortcode attributes were disallowed
- HTML was removed from all translatable text strings
- Rewrite rules are now flushed on theme switch
- Most core classes were moved to their own files
Embeds
- Add oEmbed support for ReverbNation.
- Remove oEmbed support for Blip.
JavaScript
- Customizer: Ensure persistence of unchanged active state for controls, sections, and panels
- Customize: Fixed logic for determining the container element when focusing on a panel, section, or control
- Customize: Fixed clearing of a color control’s setting by using proper empty value
Bug Fixes
- Fail gracefully when checking mapped capabilities against unregistered post types
- Visibility was restored for the Tags auto-suggest tooltip in Quick Edit
- The $public_only parameter was added to count_user_posts()
- Cron: Events are now rejected when the provided $timestamp value is not a valid timestamp
- Users with no role are now redirected to the home page on login instead of their profile-editing screen
Multisite
- A network can now be retrieved by its ID through [ WP_Network::get_instance()]
- A network can now be created or completed by passing arguments to [ WP_Network]
- Network-level capabilities were clarified and some long-time bugs were fixed
Classes
更多wordpress 4.4 的更新内容,请访问
https://codex.wordpress.org/Version_4.4
我见过的最好的文章了,谢谢博主