Make WordPress Core

Changeset 45339


Ignore:
Timestamp:
05/17/2019 01:08:45 AM (6 years 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.
Merges [45338] to the 5.2 branch.
Fixes #46408.

Location:
branches/5.2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/about.php

    r45318 r45339  
    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">
  • branches/5.2/src/wp-admin/credits.php

    r45318 r45339  
    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">
  • branches/5.2/src/wp-admin/freedoms.php

    r45318 r45339  
    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.