Help/About: Add strings for 5.4 About page.
Props elmastudio, chanthaboune, francina, marybaum, audrasjb. See #49295. Built from https://develop.svn.wordpress.org/trunk@47422 git-svn-id: http://core.svn.wordpress.org/trunk@47209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
86bafc002d
commit
293bc81bf6
|
@ -30,13 +30,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header-text">
|
<div class="about__header-text">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
|
||||||
printf(
|
|
||||||
/* translators: %s: The current WordPress version number. */
|
|
||||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
|
||||||
$display_version
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -48,9 +42,36 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="about__section is-feature">
|
||||||
|
<?php _e( 'Say hello to more and better.' ); ?>
|
||||||
|
<br />
|
||||||
|
<?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than ever—and boosts in speed you can feel.' ); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="about__section is-feature">
|
<div class="about__section is-feature">
|
||||||
<p>
|
<p>
|
||||||
<?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: The current WordPress version number. */
|
||||||
|
__( 'Welcome to WordPress %s.' ),
|
||||||
|
$display_version
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'Every major release adds more to the block editor.' ); ?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the web’s top services.' ); ?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'More ways to make your vision real, and put blocks in the perfect place — even if a particular kind of block is new to you. More efficient processes.' ); ?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -63,36 +84,27 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-vertically-aligned-center">
|
<div class="column is-vertically-aligned-center">
|
||||||
<h2><?php _e( 'Block Editor Improvements' ); ?></h2>
|
<h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2>
|
||||||
<p>
|
<ul>
|
||||||
<?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?>
|
<li><?php _e( 'Two brand-new blocks: Social Links and Buttons make adding interactive features fast and easy.' ); ?></li>
|
||||||
</p>
|
<li><?php _e( 'New ways with color: Gradients in the Buttons and Cover block, toolbar access to color options in Rich Text blocks, and for the first time, color options in the Group and Columns blocks.' ); ?></li>
|
||||||
|
<li><?php _e( 'Guess a whole lot less! Version 5.4 streamlines the whole process for placing and replacing multimedia in every block. Now it works the same way in almost every block!' ); ?></li>
|
||||||
<p>
|
<li><?php _e( 'And if you’ve ever thought your image in the Media+Text block should link to something else — perhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li>
|
||||||
<?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
|
</ul>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__section has-2-columns">
|
<div class="about__section has-2-columns">
|
||||||
<div class="column is-vertically-aligned-center">
|
<div class="column is-vertically-aligned-center">
|
||||||
<h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
|
<h2><?php _e( 'Cleaner UI, clearer navigation—and easier tabbing!' ); ?></h2>
|
||||||
<p>
|
|
||||||
<?php
|
|
||||||
printf(
|
|
||||||
/* translators: %s: The current WordPress version number. */
|
|
||||||
__( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
|
|
||||||
$display_version
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
|
<li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li>
|
||||||
<li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
|
<li><?php _e( 'For when you need to navigate with the keyboard, better tabbing and focus. Plus, you can tab over to the sidebar of nearly any block.' ); ?></li>
|
||||||
<li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
|
<li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li>
|
||||||
<li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
|
<li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need it—and only when you need it—again and again.' ); ?></li>
|
||||||
<li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
|
<li><?php _e( 'Know at a glance whether you’re in a block’s Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode you’re in.' ); ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. You’ll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-edge-to-edge has-accent-background-color">
|
<div class="column is-edge-to-edge has-accent-background-color">
|
||||||
<div class="about__image aligncenter">
|
<div class="about__image aligncenter">
|
||||||
|
@ -101,92 +113,80 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__section has-2-columns has-subtle-background-color">
|
<div class="about__section has-2-columns">
|
||||||
|
<div class="column is-edge-to-edge has-accent-background-color">
|
||||||
|
<div class="about__image aligncenter">
|
||||||
|
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="column is-vertically-aligned-center">
|
<div class="column is-vertically-aligned-center">
|
||||||
<h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
|
<h2><?php _e( 'Your fundamental right: privacy' ); ?></h2>
|
||||||
<p><?php _e( 'As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
|
<p><?php _e( '5.4 helps with a variety of privacy issues around the world. So when users and stakeholders ask about regulatory compliance, or how your team handles user data, the answers should be a lot easier to get right.' ); ?></p>
|
||||||
|
<p><?php _e( 'Take a look:' ); ?></p>
|
||||||
<p>
|
<ul>
|
||||||
<?php
|
<li><?php _e( 'Personal Data Exports include more useful data about what you’ve done in sessions. Plus, a table of contents!' ); ?></li>
|
||||||
printf(
|
<li><?php _e( 'See where you are when you use Privacy Tools Tables, whether you’re erasing or exporting.' ); ?></li>
|
||||||
/* translators: %s: Link to the Inter font website. */
|
<li><?php _e( 'Plus, little enhancements throughout give the Privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
|
||||||
__( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
|
</ul>
|
||||||
'https://rsms.me/inter/'
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="column is-edge-to-edge">
|
|
||||||
<div class="about__image aligncenter">
|
|
||||||
<img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="about__section has-subtle-background-color">
|
|
||||||
<div class="column is-edge-to-edge">
|
|
||||||
<div class="about__image aligncenter">
|
|
||||||
<img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<div class="about__section has-3-columns">
|
|
||||||
<h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
|
|
||||||
|
|
||||||
<div class="column">
|
|
||||||
<h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
|
|
||||||
<p><?php _e( 'Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perserverance of many dedicated contributors.' ); ?></p>
|
|
||||||
</div>
|
|
||||||
<div class="column">
|
|
||||||
<h3><?php _e( 'Site Health Checks' ); ?></h3>
|
|
||||||
<p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p>
|
|
||||||
</div>
|
|
||||||
<div class="column">
|
|
||||||
<h3><?php _e( 'Admin Email Verification' ); ?></h3>
|
|
||||||
<p><?php _e( 'You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.' ); ?></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="about__section">
|
|
||||||
<div class="column is-edge-to-edge">
|
|
||||||
<div class="about__image aligncenter">
|
|
||||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="about__section has-2-columns has-subtle-background-color">
|
<div class="about__section has-2-columns has-subtle-background-color">
|
||||||
<h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
|
<h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
|
||||||
|
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
|
<h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'Two new actions let you add custom fields to menu items—without a plugin and without writing custom walkers.' ); ?>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: Link to the date/time developer notes. */
|
/* translators: %s: 'wp_nav_menu_item_custom_fields' action name. */
|
||||||
__( 'Developers can now work with <a href="%s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
|
__( 'On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.' ),
|
||||||
'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
|
'<code>wp_nav_menu_item_custom_fields</code>'
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: 'wp_nav_menu_item_custom_fields_customize_template' action name. */
|
||||||
|
__( 'In the Customizer, %s fires at the end of the menu-items form-fields template.' ),
|
||||||
|
'<code>wp_nav_menu_item_custom_fields_customize_template</code>'
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php _e( 'Check your code and see where these new actions can replace your custom code, and if you’re concerned about duplication, add a check for the WordPress version.' ); ?>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
|
<h3><?php _e( 'Blocks! Simpler styling, new APIs and embeds' ); ?></h3>
|
||||||
|
<ul>
|
||||||
|
<li><?php _e( '<strong>Radically</strong> simpler block styling. Negative margins and default padding are gone! Now you can style blocks the way you need them. And, a refactor got rid of four redundant wrapper divs.' ); ?></li>
|
||||||
|
<li><?php _e( 'If you build plugins, now you can register collections of your blocks by namespace across categories—a great way to get more brand visibility.' ); ?></li>
|
||||||
|
<li><?php _e( 'Let users do more with two new APIs: block variations and gradients.' ); ?></li>
|
||||||
|
<li><?php _e( 'In embeds, now the block editor supports TikTok—and CollegeHumor is gone.' ); ?></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="about__section is-feature">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: Link to the PHP 7 developer notes. */
|
/* translators: %s: WordPress 5.4 Field Guide link. */
|
||||||
__( 'WordPress 5.3 aims to fully support PHP 7.4. This release contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.' ),
|
__( 'There’s lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide.</a>' ),
|
||||||
'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
|
'https://make.wordpress.org/core/?p=80034'
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
<p>
|
||||||
|
<?php _e( 'Finally, a note about tooling. If you’re a Composer fan, version 5.4 supports this more modern tooling for PHPUnit and external libraries.' ); ?>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
|
@ -32,13 +32,7 @@ $credits = wp_credits();
|
||||||
|
|
||||||
<div class="about__header-text">
|
<div class="about__header-text">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
|
||||||
printf(
|
|
||||||
/* translators: %s: The current WordPress version number. */
|
|
||||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
|
||||||
$display_version
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -35,13 +35,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header-text">
|
<div class="about__header-text">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
|
||||||
printf(
|
|
||||||
/* translators: %s: The current WordPress version number. */
|
|
||||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
|
||||||
$display_version
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -29,13 +29,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||||
|
|
||||||
<div class="about__header-text">
|
<div class="about__header-text">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
|
||||||
printf(
|
|
||||||
/* translators: %s: The current WordPress version number. */
|
|
||||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
|
||||||
$display_version
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-beta3-47421';
|
$wp_version = '5.4-beta3-47422';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue