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 WordPress 4.2 Features](https://i-blog.csdnimg.cn/blog_migrate/510b2c904005c8365c36b1785876ca92.png)
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 Installing Press This tool for WordPress](https://i-blog.csdnimg.cn/blog_migrate/3ea5c5c1dbd6ae207ffe2c05705d2986.png)
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 Using Press This tool on your mobile phones](https://i-blog.csdnimg.cn/blog_migrate/5572540b8125ae3fdf79f69b38185514.png)
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 Using Emojis on a WordPress site from a mobile phone](https://i-blog.csdnimg.cn/blog_migrate/cf2121cb0470866215bd4026f548d7ca.png)
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 Faster plugin updates in WordPress 4.2](https://i-blog.csdnimg.cn/blog_migrate/190104c0a8523ce0964981262b5d32af.png)
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 Tumblr auto embed in WordPress](https://i-blog.csdnimg.cn/blog_migrate/5b0e298dffe7f9d746b9320b73b8b663.png)
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 Theme Switching in WordPress 4.2](https://i-blog.csdnimg.cn/blog_migrate/b06f73abc3eb3fb5093ce2efa785a701.png)
引擎盖下的变化 (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视频教程。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/news/whats-new-in-wordpress-4-2/