Make WordPress Core

Ticket #48945: 48945.diff

File 48945.diff, 1.7 KB (added by audrasjb, 4 years ago)

Proposal for about page changelog block in 5.3.x

  • src/wp-admin/about.php

    diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php
    index 3a7865a9fe..0be40bb4b2 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    4848                        </nav>
    4949                </div>
    5050
     51                <div class="about__section changelog">
     52                        <div class="column">
     53                                <h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
     54                                <p>
     55                                        <?php
     56                                        printf(
     57                                                /* translators: 1: WordPress version number, 2: plural number of bugs. */
     58                                                _n(
     59                                                        '<strong>Version %1$s</strong> addressed %2$s bug.',
     60                                                        '<strong>Version %1$s</strong> addressed %2$s bugs.',
     61                                                        46
     62                                                ),
     63                                                '5.3.1',
     64                                                number_format_i18n( 46 )
     65                                        );
     66                                        ?>
     67                                        <?php
     68                                        printf(
     69                                                /* translators: %s: HelpHub URL */
     70                                                __( 'For more information, see <a href="%s">the release notes</a>.' ),
     71                                                sprintf(
     72                                                        /* translators: %s: WordPress version */
     73                                                        esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     74                                                        sanitize_title( '5.3.1' )
     75                                                )
     76                                        );
     77                                        ?>
     78                                </p>
     79                        </div>
     80                </div>
     81
     82                <hr />
     83
    5184                <div class="about__section is-feature">
    5285                        <p>
    5386                                <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>