Make WordPress Core


Ignore:
Timestamp:
08/21/2026 03:27:16 AM (3 months ago)
Author:
peterwilsoncc
Message:

Help/About: Update heading string to use placeholder.

Updates the "Welcome to WordPress X.X" heading to use a placeholder for the version number to ease l10n efforts with a reusable string across each version of WordPress.

Props nekojonez, khokansardar, mukesh27, SergeyBiryukov.
Fixes #65895.

File:
1 edited

Legend:

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

    r63304 r63329  
    6161                <div class="about__section">
    6262                        <div class="column is-left-padding-zero is-right-padding-zero">
    63                                 <h2><?php _e( 'Welcome to WordPress 7.1' ); ?></h2>
     63                                <h2>
     64                                        <?php
     65                                        printf(
     66                                                /* translators: %s: Version number. */
     67                                                __( 'Welcome to WordPress %s' ),
     68                                                $display_major_version
     69                                        );
     70                                        ?>
     71                                </h2>
    6472                                <p class="is-subheading"><?php _e( 'WordPress 7.1 makes styling and collaborating easier. Style how all blocks look across screen sizes and how the Button block responds to hover, focus, and active states, all without writing custom CSS. A streamlined media editor brings cropping, rotation, and metadata editing together in one workflow. Notes now support rich text and @mentions, and the admin bar travels with you into every editor, so the tools you rely on stay with you wherever you&#8217;re working.' ); ?></p>
    6573                        </div>
Note: See TracChangeset for help on using the changeset viewer.