WordPress 4.2的新功能

WordPress 4.2 was released just a few minutes ago. This is the first major WordPress release of 2015. It fixes many issues and adds some great new features to WordPress. Sadly, some really cool features were dropped because they were not yet ready to be shipped. In this article, we will show you what’s new in WordPress 4.2 and which features you should try after updating your sites.

WordPress 4.2是在几分钟前发布的。 这是2015年的第一个主要WordPress版本。它解决了许多问题,并为WordPress添加了一些很棒的新功能。 可悲的是,一些非常酷的功能已被放弃,因为它们尚未准备好交付。 在本文中,我们将向您展示WordPress 4.2中的新增功能以及更新网站后应尝试的功能。

WordPress 4.2 Features

This is a major WordPress release, which means your site will not get automatically updated unless you are using managed WordPress hosting. You will have to initiate the update from your WordPress dashboard. As always, don’t forget to backup your WordPress site before updating.

这是主要的WordPress版本,这意味着除非您使用托管WordPress托管,否则您的网站不会自动更新。 您将必须从WordPress仪表板启动更新。 与往常一样,不要忘记在更新之前备份WordPress网站

新功能和改进功能按下此工具 (New and Improved Press This Tool)

WordPress 4.2 comes with the new and improved Press This tool.

WordPress 4.2随附了新的和改进的Press This工具。

Installing Press This tool for WordPress

It is a simple bookmarklet that you can drag and drop to your browser’s bookmarks bar or add to your mobile homescreen. This allows you to easily share any content from anywhere on the web to your WordPress site with a simple click or tap.

这是一个简单的书签,您可以将其拖放到浏览器的书签栏中,也可以将其添加到移动主屏幕。 这使您可以轻松地从Web上的任何位置轻松共享任何内容到WordPress网站。

Using Press This tool on your mobile phones

Press This will now automatically find images, excerpt, and title for the content you are sharing and embed it to a post on the fly. This will make sharing content a lot faster and easier for many users.

按此现在将自动查找您要共享的内容的图像,摘录和标题,并将其即时嵌入到帖子中。 对于许多用户来说,这将使共享内容变得更快,更容易。

WordPress 4.2中的新字符和表情符号支持 (New Characters & Emoji Support in WordPress 4.2)

Emoji are natively available on all modern devices including mobile phones. WordPress didn’t support emoji natively. WordPress 4.2 resolved this by adding the native support for emoji. You can now use emojis anywhere on your WordPress site.

表情符号可在包括手机在内的所有现代设备上使用。 WordPress本身不支持表情符号。 WordPress 4.2通过添加对表情符号的本机支持解决了这一问题。 现在,您可以在WordPress网站上的任何地方使用表情符号。

Using Emojis on a WordPress site from a mobile phone

The support for Emoji was made possible by the underlying work done to add native support for Chinese, Japanese, Korean characters. WordPress 4.2 will automatically switch your utf-8 database to utf8mb4. This change will also allow musical and mathematical symbols and even hieroglyphs.

通过添加基本支持中文,日文,韩文的基础工作,使得对表情符号的支持成为可能。 WordPress 4.2会自动将您的utf-8数据库切换到utf8mb4。 此更改还将允许使用音乐和数学符号,甚至象形文字。

While many users may not be as excited about Emoji support, the support for more language characters is a huge improvement for a very large global WordPress user base.

虽然许多用户可能对Emoji支持并不感到兴奋,但是对于更多的全球WordPress用户群,对更多语言字符的支持是一项巨大的进步。

更快的插件更新 (Faster Plugin Updates)

Plugin updates required you to click on the update link and wait for a page to load which showed update progress. Then after the update you were able to move on to do whatever you were doing. This will change in WordPress 4.2 which now comes with a faster one-click plugin updates.

插件更新要求您单击更新链接,然后等待加载页面以显示更新进度。 然后,在更新之后,您就可以继续做您正在做的事情。 这将在WordPress 4.2中更改,该版本现在具有更快的一键式插件更新。

Faster plugin updates in WordPress 4.2

Earlier in our What’s coming in WordPress 4.2 article, we showed you faster plugin install feature. It was similar to the update feature but allowed users to install plugins without reloading page. This feature was dropped during the beta.

在WordPress 4.2的即将发布文章中,我们向您展示了更快的插件安装功能。 它类似于更新功能,但允许用户安装插件而无需重新加载页面。 在测试版中,此功能已被删除。

更多自动嵌入 (More Auto Embeds)

Just like YouTube videos, Tweets, and many other services, Tumblr and Kickstarter are now included into oEmbed whitelist in WordPress. You can now paste a link from Tumblr or Kickstarter and see it automatically embedded into the post.

就像YouTube视频Tweets许多其他服务一样 ,Tumblr和Kickstarter现在已包含在WordPress的oEmbed白名单中。 现在,您可以粘贴来自Tumblr或Kickstarter的链接,然后将其自动嵌入到帖子中。

Tumblr auto embed in WordPress
Customizer中的主题切换 (Theme Switching in Customizer)

WordPress 4.2 comes with some great improvements in the customizer. You can now switch themes directly from theme customizer and make changes. This will enable users to quickly preview themes and customize themes without even activating them.

WordPress 4.2在自定义程序中进行了一些重大改进。 现在,您可以直接从主题定制器切换主题并进行更改。 这将使用户能够快速预览主题并自定义主题,而无需激活它们。

Theme Switching in WordPress 4.2
引擎盖下的变化 (Under The Hood Changes)

Messages generated by JavaScript calls to the server will now be readable by screen-readers. Plugin authors and developers can use wp.a11y.speak() to send audible notifications.

屏幕阅读器现在可以读取JavaScript调用服务器生成的消息。 插件作者和开发人员可以使用wp.a11y.speak()发送声音通知。

Terms shared by multiple taxonomies will now be split when one of them is updated.

现在,多个分类中共享的术语将在其中之一更新时被拆分。

Complex ordering support with meta query clauses is now supported by WP_Query, WP_Comment_Query, and WP_User_Query.

WP_Query,WP_Comment_Query和WP_User_Query现在支持带有元查询子句的复杂排序支持。

There are some minor changes in the default WordPress color scheme.

默认的WordPress配色方案有一些小的更改。

There are many bug fixes and other under the hood improvements. You can see a full list of changes here.

有许多错误修复和其他改进。 您可以在此处查看完整的更改列表。

We hope you liked this overview of what’s new in WordPress 4.2. We are particularly excited about faster plugin update feature. What are you excited about?

我们希望您喜欢WordPress 4.2新增功能的概述。 我们对更快的插件更新功能感到特别兴奋。 你兴奋什么?

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/news/whats-new-in-wordpress-4-2/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值