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

Props desrosj, mukesh27.
Fixes #46408.
Built from https://develop.svn.wordpress.org/trunk@45338


git-svn-id: http://core.svn.wordpress.org/trunk@45149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-17 01:08:53 +00:00
parent cbad1109f4
commit 00255ae0be
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.3-alpha-45336';
$wp_version = '5.3-alpha-45338';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.