Make WordPress Core

08/04/2020 05:42:44 PM (12 months ago)

Help/About: String updates and accessibility improvements to the 5.5 About page.

Merges [48729-48730] to the 5.5 branch.
Props audrasjb, SergeyBiryukov.
See #50416.

1 edited


  • branches/5.5/src/wp-admin/about.php

    r48723 r48733  
    6262        <hr />
    64         <div class="about__section has-2-columns is-wider-left">
     64        <div class="about__section has-1-column">
    6565            <div class="column">
    6666                <h2><?php _e( 'Speed' ); ?></h2>
    7070                <p><?php _e( 'On mobile, lazy loading can also keep browsers from loading files meant for other devices. That can save your readers money on data — and help preserve battery life.' ); ?></p>
    7171            </div>
    72             <div class="column is-edge-to-edge" style="background-color:skyblue;">
    73             </div>
    74         </div>
    76         <hr class="is-small" />
    78         <div class="about__section has-2-columns is-wider-right">
    79             <div class="column is-edge-to-edge" style="background-color:skyblue;">
    80             </div>
     72        </div>
     74        <div class="about__section has-1-column">
    8175            <div class="column">
    8276                <h2><?php _ex( 'Search', 'sitemap' ); ?></h2>
    8882        </div>
    90         <hr class="is-small" />
    92         <div class="about__section has-2-columns is-wider-left">
     84        <hr />
     86        <div class="about__section has-2-columns has-accent-background-color is-wider-right">
    9387            <div class="column">
    9488                <h2><?php _e( 'Security' ); ?></h2>
    9993                <p><?php _e( 'If updating plugins and themes manually is your thing, now that’s easier too — just upload a ZIP file.' ); ?></p>
    10094            </div>
    101             <div class="column is-edge-to-edge" style="background-color:skyblue;">
    102             </div>
    103         </div>
    105         <hr />
    107         <div class="about__section">
    108             <div class="column is-edge-to-edge" style="height:200px;background-color:skyblue;">
    109             </div>
     95            <div class="column about__image is-vertically-aligned-center">
     96                <figure aria-labelledby="about-security" class="about__image">
     97                    <video controls poster="https://make.wordpress.org/core/files/2020/08/security-poster.png">
     98                        <source src="https://make.wordpress.org/core/files/2020/08/wp55-about-page-security-section.mp4" type="video/mp4" />
     99                    </video>
     100                    <figcaption id="about-security" class="screen-reader-text"><?php _e( 'Video: Installed plugin screen, which shows a new column, Automatic Updates. In this column are buttons that say "Enable auto-updates." When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates". Two plugins have updates, the updates are automatically queued up in 4 hours.' ); ?></figcaption>
     101                </figure>
     102            </div>
     103        </div>
     105        <hr />
     107        <div class="about__section has-subtle-background-color">
    110108            <div class="column">
    111109                <h2><?php _e( 'Highlights from the block editor' ); ?></h2>
    113111            </div>
    114112        </div>
    115         <div class="about__section has-2-columns">
    116             <div class="column">
     113        <div class="about__section has-2-columns  has-subtle-background-color">
     114            <div class="column">
     115                <figure aria-labelledby="about-block-pattern" class="about__image">
     116                    <video controls poster="https://make.wordpress.org/core/files/2020/07/block-pattern-poster.png">
     117                        <source src="https://make.wordpress.org/core/files/2020/07/block-patterns.mp4" type="video/mp4" />
     118                    </video>
     119                    <figcaption id="about-block-pattern" class="screen-reader-text"><?php _e( 'Video: In the editor, the block inserter shows two tabs, Blocks and Patterns. The Patterns tab is selected. There are different block layouts in this tab. A section called "Button" has patterns for two buttons, three buttons. Next is a section called "Column", with two columns, two columns with images, three columns of text with buttons.' ); ?></figcaption>
     120                </figure>
     121                <h3><?php _e( 'Block patterns' ); ?></h3>
     122                <p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p>
     123                <p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single place — just click and go!' ); ?></p>
     124            </div>
     125            <div class="column">
     126                <figure aria-labelledby="about-image-editor" class="about__image">
     127                    <video controls poster="https://make.wordpress.org/core/files/2020/07/image-editor-poster.png">
     128                        <source src="https://make.wordpress.org/core/files/2020/07/image-editor.mp4" type="video/mp4" />
     129                    </video>
     130                    <figcaption id="about-image-editor" class="screen-reader-text"><?php _e( 'Video: In the new image editor, an image icon gets dragged and dropped into the space, which turns blue to accept the upload. The image expands to fill the editor. Dragging a handle on the right side of the image widens it to scale and resizes the editor to fit. Next the cursor moves to a text area below the image and clicks to bring up standard block text-editing tools and write a caption for the image. Clicking in the image dismisses the text tools, and the cursor now moves to a toolbar at the top of the image space. A click on the Crop icon reveals a dropdown set of common aspect ratios; lingering briefly on one choice demos the crop. Applying it requires a confirmation click in the toolbar.' ); ?></figcaption>
     131                </figure>
    117132                <h3><?php _e( 'Inline image editing' ); ?></h3>
    118133                <p><?php _e( 'Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!' ); ?></p>
    119                 <h3><?php _e( 'Block patterns' ); ?></h3>
    120                 <p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p>
    121                 <p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single dropdown — just click and go!' ); ?></p>
    122             </div>
    123             <div class="column">
    124135                <h3><?php _e( 'The New Block Directory' ); ?></h3>
    125136                <p><?php _e( 'Now it’s easier than ever to find the block you need. The new block directory is built right into the block editor, so you can install new block types to your site without ever leaving the editor.' ); ?></p>
    132143        <hr />
    134         <div class="about__section has-2-columns">
     145        <div class="about__section has-1-column">
    135146            <div class="column">
    136147                <h2><?php _e( 'Accessibility' ); ?></h2>
    138149                <p><?php _e( 'Now you can copy links in media screens and modal dialogs with a button, instead of trying to highlight a line of text.' ); ?></p>
    139150                <p><?php _e( 'You can also move meta boxes with the keyboard, and edit images in WordPress with your assistive device, as it can read you the instructions in the image editor.' ); ?></p>
    140             </div>
    141             <div class="column is-edge-to-edge" style="background-color:skyblue;">
    142151            </div>
    143152        </div>
    212221                        ?>
    213222                    </li>
    214                     <li><?php _e( 'New filters let custom post types associated with the category taxonomy have a default term beyond “Uncategorized”.' ); ?></li>
     223                    <li><?php _e( 'Custom post types associated with the category taxonomy can now opt-in to supporting the default term.' ); ?></li>
     224                    <li>
     225                        <?php
     226                        printf(
     227                            /* translators: %s: 'register_taxonomy' function name. */
     228                            __( 'Default terms can now be specified for custom taxonomies in %s.' ),
     229                            '<code>register_taxonomy()</code>'
     230                        );
     231                        ?>
     232                    </li>
     233                    <li>
     234                        <?php
     235                        printf(
     236                            /* translators: %s: 'register_meta' function name. */
     237                            __( 'The REST API now officially supports specifying default metadata values through %s.' ),
     238                            '<code>register_meta()</code>'
     239                        );
     240                        ?>
     241                    </li>
    215242                    <li><?php _e( 'You will find updated versions of these bundled libraries: SimplePie, Twemoji, Masonry, imagesLoaded, getID3, Moment.js, and clipboard.js.' ); ?></li>
    216243                </ul>
    217244            </div>
    218         </div>
    220         <hr class="is-small" />
    222         <div class="about__section">
    224245        </div>
Note: See TracChangeset for help on using the changeset viewer.