Make WordPress Core

Ticket #59180: 631-about-page.diff

File 631-about-page.diff, 1.3 KB (added by audrasjb, 3 years ago)
  • src/wp-admin/about.php

    diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php
    index 4e2779d3c1..d28f0f420b 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    4242                        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    4343                        <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
    4444                </nav>
    45                
     45
     46                <div class="about__section changelog">
     47                        <div class="column">
     48                                <h2><?php _e( 'Maintenance Release' ); ?></h2>
     49                                <p>
     50                                        <?php
     51                                        printf(
     52                                                /* translators: 1: WordPress version number, 2: Plural number of bugs. */
     53                                                _n(
     54                                                        '<strong>Version %1$s</strong> addressed %2$s bug.',
     55                                                        '<strong>Version %1$s</strong> addressed %2$s bugs.',
     56                                                        10
     57                                                ),
     58                                                '6.3.1',
     59                                                '10'
     60                                        );
     61                                        ?>
     62                                        <?php
     63                                        printf(
     64                                                /* translators: %s: HelpHub URL. */
     65                                                __( 'For more information, see <a href="%s">the release notes</a>.' ),
     66                                                sprintf(
     67                                                        /* translators: %s: WordPress version. */
     68                                                        esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     69                                                        sanitize_title( '6.3.1' )
     70                                                )
     71                                        );
     72                                        ?>
     73                                </p>
     74                        </div>
     75                </div>
     76
    4677                <div class="about__section aligncenter">
    4778                        <div class="column">
    4879                                <h2>