Help/About: Restore placeholder for WordPress version in tagline on About, Credits, and Freedoms pages to include minor versions.

Props desrosj, mukesh27.
Merges [45338] to the 5.2 branch.
Fixes #46408.
Built from https://develop.svn.wordpress.org/branches/5.2@45339


git-svn-id: http://core.svn.wordpress.org/branches/5.2@45150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-17 01:09:52 +00:00
parent 12a29911fb
commit 3715885b2b
4 changed files with 28 additions and 4 deletions

View File

@ -24,7 +24,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
?>
</h1>
<p class="about-text"><?php printf( __( 'Congratulations on updating to WordPress 5.2! This update makes it easier than ever to fix your site if something goes wrong.' ), $display_version ); ?></p>
<p class="about-text">
<?php
printf(
/* translators: %s: The current WordPress version number */
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
$display_version
);
?>
</p>
<div class="wp-badge">
<?php

View File

@ -25,7 +25,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
?>
</h1>
<p class="about-text"><?php printf( __( 'Congratulations on updating to WordPress 5.2! This update makes it easier than ever to fix your site if something goes wrong.' ), $display_version ); ?></p>
<p class="about-text">
<?php
printf(
/* translators: %s: The current WordPress version number */
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
$display_version
);
?>
</p>
<div class="wp-badge">
<?php

View File

@ -39,7 +39,15 @@ if ( $is_privacy_notice ) {
?>
</h1>
<p class="about-text"><?php printf( __( 'Congratulations on updating to WordPress 5.2! This update makes it easier than ever to fix your site if something goes wrong.' ), $display_version ); ?></p>
<p class="about-text">
<?php
printf(
/* translators: %s: The current WordPress version number */
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
$display_version
);
?>
</p>
<div class="wp-badge">
<?php

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2.1-alpha-45337';
$wp_version = '5.2.1-alpha-45339';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.