Update to WordPress 5.5. IMPORTANT: If you select "Auto-resolve conflicts" for this release, it may cause your customizations to wp-config.php to be removed. Changes were made in the upstream wp-config.php in order to support wp_get_environment_type(). Double-check the contents of your wp-config.php file after applying this update. If you have problems with merge conflicts, see https://pantheon.io/docs/git-resolve-merge-conflicts
<h2><?php_e('Your account is now active!');?></h2>
@ -146,7 +148,7 @@ get_header( 'wp-activate' );
printf(
/* translators: 1: Login URL, 2: Username, 3: User email address, 4: Lost password URL. */
__('Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.'),
/* translators: 1: Site URL, 2: Username, 3: User email address, 4: Lost password URL. */
__('Your site at %1$s is active. You may now log in to your site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.'),
/* translators: 1: Login URL, 2: Network home URL. */
printf(__('Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.'),network_site_url('wp-login.php','login'),network_home_url());
printf(
/* translators: 1: Login URL, 2: Network home URL. */
__('Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.'),
<h1><?php_e('Say hello to more and better.');?></h1>
<p><?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.');?></p>
</div>
<hr/>
<divclass="about__section changelog">
<divclass="column">
<h2><?php_e('Maintenance and Security Releases');?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
23
),
'5.4.2',
number_format_i18n(23)
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__('For more information, see <a href="%s">the release notes</a>.'),
/* translators: %s: The current WordPress version number. */
__('In WordPress %s, your site gets new power in three major areas: speed, search, and security.'),
$display_version
);
?>
</p>
</div>
<hr/>
<divclass="about__section has-1-column">
<divclass="column">
<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.');?>
<?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>
<h2><?php_e('Speed');?></h2>
<p><strong><?php_e('Posts and pages feel faster, thanks to lazy-loaded images.');?></strong></p>
<p><?php_e('Images give your story a lot of impact, but they can sometimes make your site seem slow.');?></p>
<p><?php_e('In WordPress 5.5, images wait to load until theyโre just about to scroll into view. The technical term is โlazy loading.โ');?></p>
<p><?php_e('On mobile, lazy loading can also keep browsers from loading files meant for other devices. That can save your readers money on data โ and help preserve battery life.');?></p>
</div>
</div>
<divclass="about__section has-1-column">
<divclass="column">
<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>
<h2><?php_ex('Search','sitemap');?></h2>
<p><strong><?php_e('Say hello to your new sitemap.');?></strong></p>
<p><?php_e('WordPress sites work well with search engines. ');?></p>
<p><?php_e('Now, by default, WordPress 5.5 includes an XML sitemap that helps search engines discover your most important pages from the very minute you go live.');?></p>
<p><?php_e('So more people will find your site sooner, giving you more time to engage, retain and convert them to subscribers, customers or whatever fits your definition of success.');?></p>
<p><strong><?php_e('Auto-updates for Plugins and Themes');?></strong></p>
<p><?php_e('Now you can set plugins and themes to update automatically โ or not! โ in the WordPress admin. So you always know your site is running the latest code available.');?></p>
<p><?php_e('You can also turn auto-updates on or off for each plugin or theme you have installed โ all on the same screens youโve always used.');?></p>
<p><strong><?php_e('Update by uploading ZIP files');?></strong></p>
<p><?php_e('If updating plugins and themes manually is your thing, now thatโs easier too โ just upload a ZIP file.');?></p>
</div>
<divclass="column is-vertically-aligned-center">
<h2><?php_e('Two new blocks. And better blocks overall.');?></h2>
<ul>
<li><?php_e('Two brand-new blocks: Social Icons and Buttons make adding interactive features fast and easy.');?></li>
<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>
<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>
<figcaptionid="about-security"class="screen-reader-text"><?php_e('Video: Installed plugin screen, which shows a new column, Automatic Updates. In this column are buttons that say "Enable auto-updates". When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates".');?></figcaption>
<li><?php_e('Clearer block navigation with block breadcrumbs. And easier selection once you get there.');?></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('Speed! 14% faster loading of the editor, 51% faster time-to-type!');?></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('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>
<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>
<figcaptionid="about-block-pattern"class="screen-reader-text"><?php_e('Video: In the editor, the block inserter shows two tabs, Blocks and Patterns. The Patterns tab is selected. There are different block layouts in this tab. After scrolling through options including buttons and columns, a pattern called "Large header with a heading" is chosen. This adds a cover block, which is customized with a photo and the name of the WordPress 5.5 jazz musician.');?></figcaption>
<figcaptionid="about-image-editor"class="screen-reader-text"><?php_e('Video: An image is added with an image block. In the block toolbar, an icon called "Crop" is selected, which changes the toolbar to show image resizing tools. First, zoom is used to zoom into the center of the image. Next, aspect ratio is clicked. This shows a dropdown of common aspect ratios. Square is chosen, and the image is moved within the new square outline. The crop is completed by clicking "Apply."');?></figcaption>
</figure>
</div>
<divclass="column is-vertically-aligned-center">
<h2><?php_e('Your fundamental right: privacy');?></h2>
<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>
<ul>
<li><?php_e('Now personal data exports include users session information and users location data from the community events widget. Plus, a table of contents!');?></li>
<li><?php_e('See progress as you process export and erasure requests through the privacy tools.');?></li>
<li><?php_e('Plus, little enhancements throughout give the privacy tools a little cleaner look. Your eyes will thank you!');?></li>
</ul>
<divclass="column">
<h3><?php_e('Block patterns');?></h3>
<p><?php_e('New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.');?></p>
<p><?php_e('You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single place โ just click and go!');?></p>
<h3><?php_e('Inline image editing');?></h3>
<p><?php_e('Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!');?></p>
<h3><?php_e('The New Block Directory');?></h3>
<p><?php_e('Now itโs easier than ever to find the block you need. The new block directory is built right into the block editor, so you can install new block types to your site without ever leaving the editor.');?></p>
<h3><?php_e('And so much more.');?></h3>
<p><?php_e('The highlights above are a tiny fraction of the new block editor features youโve just installed. Open the block editor and enjoy!');?></p>
</div>
</div>
<hr/>
<divclass="about__section ">
<divclass="column has-subtle-background-color">
<h2class="is-section-header"><?php_e('Just for developers');?></h2>
<divclass="about__section has-1-column">
<divclass="column">
<h2><?php_e('Accessibility');?></h2>
<p><?php_e('Every release adds improvements to the accessible publishing experience, and that remains true for WordPress 5.5. ');?></p>
<p><?php_e('Now you can copy links in media screens and modal dialogs with a button, instead of trying to highlight a line of text.');?></p>
<p><?php_e('You can also move meta boxes with the keyboard, and edit images in WordPress with your assistive device, as it can read you the instructions in the image editor.');?></p>
<p><?php_e('5.5 also brings a big box of changes just for developers.');?></p>
</header>
<divclass="column">
<h3><?php_e('Server-side registered blocks in the REST API');?></h3>
<p><?php_e('The addition of block types endpoints means that JavaScript apps (like the block editor) can retrieve definitions for any blocks registered on the server.');?></p>
</div>
<divclass="column">
<h3><?php_e('Dashicons');?></h3>
<p><?php_e('The Dashicons library has received its final update in 5.5. It adds 39 block editor icons along with 26 others.');?></p>
__('On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.'),
'<code>wp_nav_menu_item_custom_fields</code>'
/* translators: %s: 'wp_get_environment_type' function name. */
__('WordPress now has a standardized way to define a siteโs environment type (staging, production, etc). Retrieve that type with %s and execute only the appropriate code.'),
'<code>wp_get_environment_type()</code>'
);
?>
</p>
</div>
<divclass="column">
<h3><?php_e('Passing data to template files');?></h3>
/* translators: %1$s: 'get_header' function name, %2$s: 'get_template_part' function name, %3$s: '$args' variable name. */
__('The template loading functions (%1$s, %2$s, etc.) have a new %3$s argument. So now you can pass an entire arrayโs worth of data to those templates.'),
'<code>get_header()</code>',
'<code>get_template_part()</code>',
'<code>$args</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.');?>
<h3><?php_e('Blocks! Simpler styling, new APIs and embeds');?></h3>
<h3><?php_e('More changes for developers');?></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>
<li><?php_e('The PHPMailer library just got a major update, going from version 5.2.27 to 6.1.6.');?></li>
<li>
<?php
printf(
/* translators: %s: 'redirect_guess_404_permalink' function name. */
__('Now get more fine-grained control of %s.'),
'<code>redirect_guess_404_permalink()</code>'
);
?>
</li>
<li>
<?php
printf(
/* translators: %s: 'wp_opcache_invalidate' function name. */
__('Sites that use PHPโs OPcache will see more reliable cache invalidation, thanks to the new %s function during updates (including to plugins and themes).'),
'<code>wp_opcache_invalidate()</code>'
);
?>
</li>
<li><?php_e('Custom post types associated with the category taxonomy can now opt-in to supporting the default term.');?></li>
<li>
<?php
printf(
/* translators: %s: 'register_taxonomy' function name. */
__('Default terms can now be specified for custom taxonomies in %s.'),
'<code>register_taxonomy()</code>'
);
?>
</li>
<li>
<?php
printf(
/* translators: %s: 'register_meta' function name. */
__('The REST API now officially supports specifying default metadata values through %s.'),
'<code>register_meta()</code>'
);
?>
</li>
<li><?php_e('You will find updated versions of these bundled libraries: SimplePie, Twemoji, Masonry, imagesLoaded, getID3, Moment.js, and clipboard.js.');?></li>
<h3><?php_e('Check the Field Guide for more!');?></h3>
<p>
<?php
printf(
/* translators: %s: WordPress 5.4 Field Guide link. */
__('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 sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide</a>.'),
/* translators: %s: WordPress 5.5 Field Guide link. */
__('Thereโs a lot more for developers to love in WordPress 5.5. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.5 Field Guide.</a>'),