WordPress.org

Make WordPress Core

Ticket #46776: 46776.patch

File 46776.patch, 5.7 KB (added by thrijith, 7 months ago)
  • src/wp-admin/about.php

     
    2121include( ABSPATH . 'wp-admin/admin-header.php' );
    2222?>
    2323        <div class="wrap about-wrap full-width-layout">
    24                 <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
     24                <h1>
     25                        <?php
     26                                /* translators: %s: WordPress version. */
     27                                printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version );
     28                        ?>
     29                </h1>
    2530
    26                 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version!' ), $display_version ); ?></p>
     31                <p class="about-text"><?php _e( 'Thank you for updating to the latest version!' ); ?></p>
    2732
    28                 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
     33                <div class="wp-badge">
     34                        <?php
     35                                /* translators: %s: WordPress version. */
     36                                printf( __( 'Version %s' ), $display_version );
     37                        ?>
     38                </div>
    2939
    3040                <nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    3141                        <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
     
    5161                                <div class="inline-svg alignright">
    5262                                        <img src="https://s.w.org/images/core/5.1/site-health.svg" alt="">
    5363                                </div>
    54                                 <p><?php printf( __( 'With security and speed in mind, this release introduces WordPress&#8217;s first <a href="%s">Site Health</a> features. WordPress will start showing notices to administrators of sites that run long-outdated versions of PHP, which is the programming language that powers WordPress.' ), 'https://make.wordpress.org/core/2019/01/14/php-site-health-mechanisms-in-5-1/' ); ?></p>
     64                                <p>
     65                                        <?php
     66                                                /* translators: %s: URL to post informing PHP Site Health Mechanisms. */
     67                                                printf( __( 'With security and speed in mind, this release introduces WordPress&#8217;s first <a href="%s">Site Health</a> features. WordPress will start showing notices to administrators of sites that run long-outdated versions of PHP, which is the programming language that powers WordPress.' ), 'https://make.wordpress.org/core/2019/01/14/php-site-health-mechanisms-in-5-1/' );
     68                                        ?>
     69                                </p>
    5570
    5671                                <p><?php _e( 'When installing new plugins, WordPress&#8217;s Site Health features will check whether a plugin requires a version of PHP incompatible with your site. If so, WordPress will prevent you from installing that plugin.' ); ?></p>
    5772
     
    89104                                <p>
    90105                                        <?php _e( '5.1 introduces a new database table to store metadata associated with sites and allows for the storage of arbitrary site data relevant in a multisite / network context.' ); ?>
    91106                                        <br>
    92                                         <?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/28/multisite-support-for-site-metadata-in-5-1/' ); ?>
     107                                        <?php
     108                                                /* translators: %s: URL to post informing Multisite Support for Site Metadata. */
     109                                                printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/28/multisite-support-for-site-metadata-in-5-1/' );
     110                                        ?>
    93111                                </p>
    94112                        </div>
    95113                        <div class="col">
     
    97115                                <p>
    98116                                        <?php _e( 'The Cron API has been updated with new functions to assist with returning data and includes new filters for modifying cron storage. Other changes in behavior affect cron spawning on servers running FastCGI and PHP-FPM versions 7.0.16 and above.' ); ?>
    99117                                        <br>
    100                                         <?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/09/cron-improvements-with-php-fpm-in-wordpress-5-1/' ); ?>
     118                                        <?php
     119                                                /* translators: %s: URL to post informing Cron API Improvements. */
     120                                                printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/09/cron-improvements-with-php-fpm-in-wordpress-5-1/' );
     121                                        ?>
    101122                                </p>
    102123                        </div>
    103124                        <div class="col">
     
    105126                                <p>
    106127                                        <?php _e( 'WordPress 5.1 features a new JavaScript build option, following the large reorganization of code started in the 5.0 release.' ); ?>
    107128                                        <br>
    108                                         <?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2018/05/16/preparing-wordpress-for-a-javascript-future-part-1-build-step-and-folder-reorganization/' ); ?>
     129                                        <?php
     130                                                /* translators: %s: URL to post informing New JS Build Processes. */
     131                                                printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2018/05/16/preparing-wordpress-for-a-javascript-future-part-1-build-step-and-folder-reorganization/' );
     132                                        ?>
    109133                                </p>
    110134                        </div>
    111135                </div>
     
    116140                                <p>
    117141                                        <?php _e( 'Miscellaneous improvements include updates to values for the <code>WP_DEBUG_LOG</code> constant, new test config file constant in the test suite, new plugin action hooks, short-circuit filters for <code>wp_unique_post_slug()</code> and <code>WP_User_Query</code> and <code>count_users()</code>, a new <code>human_readable_duration</code> function, improved taxonomy metabox sanitization, limited <code>LIKE</code> support for meta keys when using <code>WP_Meta_Query</code>, a new “doing it wrong” notice when registering REST API endpoints, and more!' ); ?>
    118142                                        <br>
    119                                         <?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/23/miscellaneous-developer-focused-changes-in-5-1/' ); ?>
     143                                        <?php
     144                                                /* translators: %s: URL to post informing Developer focused changes. */
     145                                                printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/23/miscellaneous-developer-focused-changes-in-5-1/' );
     146                                        ?>
    120147                                </p>
    121148                                <p>
    122149                                        <a class="button button-default button-hero" href="<?php echo esc_url( 'https://developer.wordpress.org/' ); ?>"><?php _e( 'Learn how to get started' ); ?></a>