WordPress.org

Make WordPress Core

Changeset 45338


Ignore:
Timestamp:
05/17/2019 01:07:12 AM (7 months ago)
Author:
SergeyBiryukov
Message:

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

Props desrosj, mukesh27.
Fixes #46408.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r45300 r45338  
    2525        </h1>
    2626
    27         <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>
     27        <p class="about-text">
     28            <?php
     29            printf(
     30                /* translators: %s: The current WordPress version number */
     31                __( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
     32                $display_version
     33            );
     34            ?>
     35        </p>
    2836
    2937        <div class="wp-badge">
  • trunk/src/wp-admin/credits.php

    r45300 r45338  
    2626</h1>
    2727
    28 <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>
     28<p class="about-text">
     29    <?php
     30    printf(
     31        /* translators: %s: The current WordPress version number */
     32        __( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
     33        $display_version
     34    );
     35    ?>
     36</p>
    2937
    3038<div class="wp-badge">
  • trunk/src/wp-admin/freedoms.php

    r45300 r45338  
    4040</h1>
    4141
    42 <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>
     42<p class="about-text">
     43    <?php
     44    printf(
     45        /* translators: %s: The current WordPress version number */
     46        __( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
     47        $display_version
     48    );
     49    ?>
     50</p>
    4351
    4452<div class="wp-badge">
Note: See TracChangeset for help on using the changeset viewer.