WordPress 5.2 is expected to be released by the end of April 2019. We have been following the development and tested the first beta to try out new features that are on the way.
WordPress 5.2预计将于2019年4月底发布。我们一直在跟踪开发过程,并测试了第一个Beta版,以试用即将推出的新功能。
This release will bring improvements to the block editor, site health check, several bug fixes and minor enhancements.
此版本将带来对块编辑器的改进,站点运行状况检查,一些错误修复和较小的增强。
In this article, we will show you what’s coming in WordPress 5.2 with features and screenshots.
在本文中,我们将通过功能和屏幕截图向您展示WordPress 5.2中的功能。
![What is coming in WordPress 5.2 What is coming in WordPress 5.2](https://i-blog.csdnimg.cn/blog_migrate/dccb15c151fe43de6709caccadbcea31.png)
Note: You can try out the beta version on your computer or on a staging environment by using the WordPress Beta Tester plugin.
注意:您可以使用WordPress Beta Tester插件在计算机或暂存环境中试用Beta版本。
WordPress 5.2 is still under development, which means some features may not make it to the final release.
WordPress 5.2仍在开发中,这意味着某些功能可能无法进入最终版本。
That being said, let’s take a look at some of the upcoming features in WordPress 5.2.
话虽如此,让我们看一下WordPress 5.2中即将推出的一些功能。
改进了WordPress中的致命错误保护 (Improved Fatal Error Protection in WordPress)
The most common WordPress errors are usually fatal errors that stop users from accessing the admin dashboard.
最常见的WordPress错误通常是致命错误,可阻止用户访问管理仪表板。
Users are then required to undo changes using an FTP client or ask their hosting company for support.
然后,要求用户使用FTP客户端撤消更改,或要求其托管公司提供支持。
WordPress 5.2 introduces a new recovery mode for site administrators. In case of a fatal error, you will see a message that ‘This site is experiencing technical difficulties’.
WordPress 5.2为站点管理员引入了一种新的恢复模式。 万一发生致命错误,您将看到一条消息,指出“此站点遇到技术问题”。
![Technical difficulties error in WordPress 5.2 Technical difficulties error in WordPress 5.2](https://i-blog.csdnimg.cn/blog_migrate/89c2daf4ab639f158ba0abd72485cc7c.png)
WordPress will then send an email to the admin email address with a special login link.
然后,WordPress将使用特殊的登录链接将电子邮件发送到管理员电子邮件地址。
Using that link, you will be able to login to the WordPress admin area. After that, you can undo any changes that may have triggered the fatal error.
使用该链接,您将能够登录WordPress管理区域。 之后,您可以撤消可能触发致命错误的所有更改。
This feature will be a blessing for many beginners who find it quite difficult to fix such errors.
对于许多初学者来说,修复此错误非常困难,此功能将是他们的福音。
WordPress 5.2中的块编辑器更新 (Block Editor Updates in WordPress 5.2)
The WordPress block editor (Gutenberg) was introduced in WordPress 5.0. Since then there has been continuous development on the block editor to further improve it.
WordPress 5.0中引入了WordPress 块编辑器 (Gutenberg)。 从那时起,块编辑器一直在不断开发以进一步改进它。
WordPress 5.2 will continue that with some new features and enhancements to the block editor.
WordPress 5.2将通过一些新功能和对块编辑器的增强来继续这一工作。
Performance Improvements
性能改进
The new WordPress block editor is much faster than the older classic editor. However, it could get slower when editing lengthier blog posts with tons of blocks.
新的WordPress块编辑器比旧的经典编辑器快得多。 但是,在编辑带有大量块的较长博客文章时,它的速度可能会变慢。
WordPress 5.2 addressed that with significant performance improvements.
WordPress 5.2通过显着的性能改进解决了这一问题。
It will now shave 35% off the load time for massive posts. WordPress 5.2 will also cut the keypress time in half, which would make it feel way more responsive when you are typing.
现在,它将节省大量职位的加载时间35%。 WordPress 5.2还将按键时间缩短了一半,这使您在打字时感觉更加灵敏。
Accessibility Improvements
辅助功能改进
The goal of WordPress is to democratize publishing and making the software accessible for all users. WordPress 5.2 will bring several accessibility improvements to the block editor.
WordPress的目标是使发布民主化并使所有用户都可以访问该软件。 WordPress 5.2将为块编辑器带来多项可访问性改进。
- The block editor will now support reduced motion settings in user’s browser. 块编辑器现在将支持用户浏览器中的降低运动设置。
- post URL slug will have better labeling and help text, which will make it easier to locate.帖子URL段将具有更好的标签和帮助文本,这将使查找起来更容易。
- Block editor will have a clearer and consistent focus styling for keyboard navigating through landmarks. 块编辑器将具有更清晰一致的焦点样式,以便键盘在地标中导航。
- WordPress 5.2 will also bring improved screen-reader experience with new speak messages. Existing speak messages are also improved to be clearer. WordPress 5.2还将通过新的语音消息带来改进的屏幕阅读器体验。 现有的语音消息也得到了改进,使其更加清晰。
Introduction of New Blocks
新块的介绍
WordPress 5.2 will also introduce the following new blocks in the default editor. Some of them were already available as Widgets, but now you can use them in posts and pages as well.
WordPress 5.2还将在默认编辑器中引入以下新块。 其中一些已经可以作为窗口小部件使用,但是现在您也可以在帖子和页面中使用它们。
- RSS block – It will allow you to easily fetch and display any RSS feed in your WordPress posts and pages. RSS块–它将使您轻松地在WordPress帖子和页面中获取并显示任何RSS feed。
- Amazon Kindle embed block – Allows you to embed content from Amazon Kindle Amazon Kindle嵌入块–允许您嵌入Amazon Kindle中的内容
- Search block – Add the default WordPress search feature in your content. 搜索块–在您的内容中添加默认的WordPress搜索功能。
- Calendar block – Displays a calendar of your blog posts allowing users to click on a date to view posts published on that day. 日历块–显示博客帖子的日历,允许用户单击日期以查看当天发布的帖子。
- Tag Cloud block – Displays the tag cloud in your content.
- 标签云块–在您的内容中显示标签云 。
新的区块管理器工具 (A New Block Manager Tool)
By default, the block editor comes with several default blocks. You also have plugins and themes adding their own blocks as well.
默认情况下,块编辑器带有几个默认块。 您也可以在插件和主题中添加自己的块。
However, the reality is that you’ll probably never use all those blocks. Most users usually stick to a handful of blocks for writing all their content.
但是,现实情况是您可能永远不会使用所有这些块。 大多数用户通常会使用少数几个块来编写所有内容。
WordPress 5.2 will introduce a new block management tool, which will allow you to hide blocks that you don’t want to use.
WordPress 5.2将引入一个新的块管理工具,该工具将允许您隐藏不需要的块。
![Launching the new block manager in WordPress 5.2 Launching the new block manager in WordPress 5.2](https://i-blog.csdnimg.cn/blog_migrate/6a5dcc6c9b1ed32c8a2a5345f9faea18.png)
The block manager will list all the blocks that you have available on your site. You can simply uncheck the blocks that you don’t want to use.
块管理器将列出您站点上所有可用的块。 您可以简单地取消选中您不想使用的块。
![The new block manager in WordPress The new block manager in WordPress](https://i-blog.csdnimg.cn/blog_migrate/d8b92da52ed0c6311d9d8ce1fdbb29a7.png)
最低PHP版本要求 (The Minimum PHP Version Requirement)
WordPress is used by millions of people from all over the world, using different hosting companies, and hosting environments.
全世界有数以百万计的人使用WordPress,使用不同的托管公司和托管环境。
This is why WordPress still supports some older PHP versions, which is a bit problematic. Users may not even realize that they can improve the performance of their website by using a newer PHP version.
这就是为什么WordPress仍然支持某些较旧PHP版本的原因,这有点问题。 用户甚至可能没有意识到他们可以使用更新PHP版本来改善其网站的性能 。
WordPress 5.2 will set the current minimum required PHP version to 5.6, which is still old (current stable PHP version is 7.3.2). The goal is to gradually increase the minimum required PHP version with future releases.
WordPress 5.2将当前所需的最低PHP版本设置为5.6,该版本仍旧(当前稳定PHP版本为7.3.2)。 目标是在将来的版本中逐步增加最低要求PHP版本。
Users on the older versions of PHP will see a notification, that they are using an older PHP version and need to update it.
使用旧版PHP的用户将看到一条通知,表示他们正在使用旧版PHP,并且需要对其进行更新。
![PHP version notice in WordPress 5.2 beta PHP version notice in WordPress 5.2 beta](https://i-blog.csdnimg.cn/blog_migrate/342892c0cd11ef0ceb377d0d0d921903.png)
WordPress 5.2的高级改进 (Under The Hood Improvements in WordPress 5.2)
These are the changes in WordPress 5.2 which will mostly affect developers.
这些是WordPress 5.2中的更改,这些更改将主要影响开发人员。
Users will be able to provide a log file path when adding WP_DEBUG_LOG in wp-config.php file. #18391.
在wp-config.php文件中添加WP_DEBUG_LOG时,用户将能够提供日志文件路径。 #18391 。
Plugins will be able to specify the minimum required PHP version. #40934
插件将能够指定所需的最低PHP版本。 #40934
Dashicons, the default icon font used for the WordPress admin area will have 25 new icons to use. #41074
Dashicons(用于WordPress管理区域的默认图标字体)将使用25个新图标。 #41074
We hope this article gave you a glimpse of what’s coming in WordPress 5.2. Let us know which features you find interesting and what new features you would like to see in the future.
我们希望本文能使您对WordPress 5.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-coming-in-wordpress-5-2-features-and-screenshots/