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/privacy.php

    r46355 r46572  
    1818<div class="wrap about-wrap full-width-layout">
    1919
    20 <h1>
    21     <?php
    22     printf(
    23         /* translators: %s: The current WordPress version number. */
    24         __( 'Welcome to WordPress&nbsp;%s' ),
    25         $display_version
    26     );
    27     ?>
    28 </h1>
     20    <div class="about__header">
     21        <div class="about__header-title">
     22            <h1>
     23                <span><?php echo $display_version; ?></span>
     24                <?php _e( 'WordPress' ); ?>
     25            </h1>
     26        </div>
    2927
    30 <p class="about-text">
    31     <?php
    32     printf(
    33         /* translators: %s: The current WordPress version number. */
    34         __( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
    35         $display_version
    36     );
    37     ?>
    38 </p>
     28        <div class="about__header-badge wp-badge">
     29            <?php
     30            printf(
     31                /* translators: %s: The current WordPress version number. */
     32                __( 'Version %s' ),
     33                $display_version
     34            );
     35            ?>
     36        </div>
    3937
    40 <div class="wp-badge">
    41     <?php
    42     printf(
    43         /* translators: %s: The current WordPress version number. */
    44         __( 'Version %s' ),
    45         $display_version
    46     );
    47     ?>
    48 </div>
     38        <div class="about__header-text">
     39            <p>
     40                <?php
     41                printf(
     42                    /* translators: %s: The current WordPress version number. */
     43                    __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
     44                    $display_version
     45                );
     46                ?>
     47            </p>
     48        </div>
    4949
    50 <nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    51     <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    52     <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    53     <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    54     <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
    55 </nav>
     50        <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
     51            <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
     52            <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
     53            <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
     54            <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
     55        </nav>
     56    </div>
    5657
    57 <div class="about-wrap-content">
    58     <p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
     58    <div class="about-wrap-content">
     59        <p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
    5960
    60     <p>
    61         <?php
    62         printf(
    63             /* translators: %s: https://wordpress.org/about/stats/ */
    64             __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ),
    65             __( 'https://wordpress.org/about/stats/' )
    66         );
    67         ?>
    68     </p>
     61        <p>
     62            <?php
     63            printf(
     64                /* translators: %s: https://wordpress.org/about/stats/ */
     65                __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ),
     66                __( 'https://wordpress.org/about/stats/' )
     67            );
     68            ?>
     69        </p>
    6970
    70     <p>
    71         <?php
    72         printf(
    73             /* translators: %s: https://wordpress.org/about/privacy/ */
    74             __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ),
    75             __( 'https://wordpress.org/about/privacy/' )
    76         );
    77         ?>
    78     </p>
    79 </div>
     71        <p>
     72            <?php
     73            printf(
     74                /* translators: %s: https://wordpress.org/about/privacy/ */
     75                __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ),
     76                __( 'https://wordpress.org/about/privacy/' )
     77            );
     78            ?>
     79        </p>
     80    </div>
    8081
    8182</div>
Note: See TracChangeset for help on using the changeset viewer.