Make WordPress Core


Ignore:
Timestamp:
10/22/2019 07:17:59 PM (5 years ago)
Author:
desrosj
Message:

Help/About: Update the 5.3 About page for RC2.

This includes numerous improvements:

  • Removes the jazzer name.
  • Ensures WordPress is translatable for consistency with other occurrences in Core.
  • Changes all instances of Block Editor to block editor to match the spelling best practices.
  • Updates the PHP 7.4 compatibility section with more suitable text.
  • Introduction in credits.php, freedoms.php, and privacy.php have been updated to be consistent with the About page.
  • Fixes the aria-current attribute in tab navigation.

Reviewed by SergeyBiryukov, desrosj.
Props SergeyBiryukov, audrasjb, desrosj, ryelle, afercia.
See #47708.

File:
1 edited

Legend:

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

    r46556 r46572  
    1515list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    1616
    17 $version_label = sprintf(
    18     /* translators: The current WordPress version number */
    19     __( 'WordPress %s' ),
    20     $display_version
    21 );
    22 
    2317include( ABSPATH . 'wp-admin/admin-header.php' );
    2418?>
    2519    <div class="wrap about-wrap full-width-layout">
     20
    2621        <div class="about__header">
    2722            <div class="about__header-title">
    28                 <h1 aria-label="<?php echo esc_attr( $version_label ); ?>">
     23                <h1>
    2924                    <span><?php echo $display_version; ?></span>
    30                     WordPress <?php /* @todo Does this need translation? */ ?>
     25                    <?php _e( 'WordPress' ); ?>
    3126                </h1>
    3227            </div>
     
    4742                    printf(
    4843                        /* translators: %s: The current WordPress version number. */
    49                         __( 'Introducing our most refined user experience with the improved Block Editor in WordPress %s &#147;Name&#148;!' ),
     44                        __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
    5045                        $display_version
    5146                    );
     
    6459        <div class="about__section is-feature">
    6560            <p>
    66                 <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with new blocks, 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.' ); ?>
     61                <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with new blocks, 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.' ); ?>
    6762            </p>
    6863        </div>
     
    8378
    8479                <p>
    85                     <?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the Block Editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
     80                    <?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
    8681                </p>
    8782            </div>
     
    9186            <div class="column is-vertically-aligned-center">
    9287                <h3><?php _e( 'Expanded Design Flexibility' ); ?></h3>
    93                 <p><?php _e( '&#147;Name&#148; adds even more robust tools for creating amazing designs.' ); ?></p>
     88                <p>
     89                    <?php
     90                    printf(
     91                        /* translators: %s: The current WordPress version number. */
     92                        __( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
     93                        $display_version
     94                    );
     95                    ?>
     96                </p>
    9497                <ul>
    9598                    <li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
     
    110113            <div class="column is-vertically-aligned-center">
    111114                <h3><?php _e( 'Introducing Twenty Twenty' ); ?></h3>
    112                 <p><?php _e( 'As the Block Editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
    113 
    114                 <p>
    115                 <?php
    116                     printf(
    117                         /* translators: 1: Link to the Inter font website. */
    118                         __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%1$s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
     115                <p><?php _e( 'As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
     116
     117                <p>
     118                    <?php
     119                    printf(
     120                        /* translators: %s: Link to the Inter font website. */
     121                        __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
    119122                        'https://rsms.me/inter/'
    120123                    );
     
    170173
    171174            <div class="column">
    172                 <h4><?php _e( 'Time/Date Component Fixes' ); ?></h4>
    173                 <p>
    174                 <?php
    175                     printf(
    176                         /* translators: 1: Link to the date/time developer notes. */
    177                         __( 'Developers can now work with <a href="%1$s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
     175                <h4><?php _e( 'Date/Time Component Fixes' ); ?></h4>
     176                <p>
     177                    <?php
     178                    printf(
     179                        /* translators: %s: Link to the date/time developer notes. */
     180                        __( 'Developers can now work with <a href="%s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
    178181                        'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
    179182                    );
     
    184187                <h4><?php _e( 'PHP 7.4 Compatibility' ); ?></h4>
    185188                <p>
    186                 <?php
    187                     printf(
    188                         /* translators: 1: Link to the PHP 7 developer notes. */
    189                         __( 'The WordPress core team is actively preparing to support PHP 7.4 when it is released later this year. WordPress 5.3 contains <a href="%1$s">multiple changes</a> to remove deprecated functionality and ensure compatibility. Please test 5.3 with PHP 7.4 to ensure all functionality continues to work as expected and does not raise any new warnings.' ),
     189                    <?php
     190                    printf(
     191                        /* translators: %s: Link to the PHP 7 developer notes. */
     192                        __( 'WordPress 5.3 aims to fully support PHP 7.4. This release contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.' ),
    190193                        'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
    191194                    );
Note: See TracChangeset for help on using the changeset viewer.