Make WordPress Core

Ticket #52346: 52346.diff

File 52346.diff, 1.6 KB (added by ryelle, 4 years ago)

A placeholder for the changelog on About page

  • src/wp-admin/about.php

    diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php
    index 13269ad58f..e2d3dfd5bc 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    7171                        </p>
    7272                </div>
    7373
     74                <div class="about__section changelog">
     75                        <div class="column has-border has-subtle-background-color">
     76                                <h2 class="is-smaller-heading"><?php _e( 'Maintenance Release' ); ?></h2>
     77                                <p>
     78                                        <?php
     79                                        printf(
     80                                                /* translators: 1: WordPress version number, 2: Plural number of bugs. */
     81                                                _n(
     82                                                        '<strong>Version %1$s</strong> addressed %2$s bug.',
     83                                                        '<strong>Version %1$s</strong> addressed %2$s bugs.',
     84                                                        27
     85                                                ),
     86                                                '5.6.1',
     87                                                number_format_i18n( 27 )
     88                                        );
     89                                        ?>
     90                                        <?php
     91                                        printf(
     92                                                /* translators: %s: HelpHub URL */
     93                                                __( 'For more information, see <a href="%s">the release notes</a>.' ),
     94                                                sprintf(
     95                                                        /* translators: %s: WordPress version */
     96                                                        esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     97                                                        sanitize_title( '5.6.1' )
     98                                                )
     99                                        );
     100                                        ?>
     101                                </p>
     102                        </div>
     103                </div>
     104
     105                <hr />
     106
    74107                <div class="has-background-image" style="background-image: url('data:image/svg+xml,<?php echo rawurlencode( '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1035 884"><circle cx="503" cy="434" r="310" fill="#E3DAD1"/><circle cx="831" cy="204" r="204" fill="#D1CFE4"/><circle cx="113.5" cy="770.5" r="113.5" fill="#D1DEE4"/></svg>' ); ?>');">
    75108                        <div class="about__section has-2-columns is-wider-left has-transparent-background-color">
    76109                                <div class="column">