科技爱好者博客

WordPress 4.4 正式版发布

科技爱好者博客wordpress

科技爱好者博客wordpress

WordPress 4.4在12月8日正式发布,命名为“jazz musician Clifford Brown” ,新版本修复了许多Bug,并且新增了很多功能。

主要更新:

新的主题
响应式图像
新功能:嵌入内容(Embeds)

WordPress 4.4面向开发者的更新包括:

新增的内容

综合

帖子

评论

外观

安装过程

 

官方的更新说明:

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

原创文章,转载请注明: 转载自科技爱好者博客

本文链接地址: WordPress 4.4 正式版发布 (https://www.tujing.site/1162)

如果博客对您有帮助,请给我 赞助


退出移动版