Make WordPress Core


Ignore:
Timestamp:
10/08/2019 07:05:53 PM (6 years ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk's version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46357], see https://github.com/WordPress/twentytwenty/compare/7157870...7246fd6.

Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/content-cover.php

    r46357 r46445  
    4545    ?>
    4646
    47     <div class="cover-header <?php echo esc_attr( $cover_header_classes ); ?>"<?php echo $cover_header_style; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- We need to double check this, but for now, we want to pass PHPCS ;) ?>>
     47    <div class="cover-header <?php echo $cover_header_classes; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- static output ?>"<?php echo $cover_header_style; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- We need to double check this, but for now, we want to pass PHPCS ;) ?>>
    4848        <div class="cover-header-inner-wrapper screen-height">
    4949            <div class="cover-header-inner">
     
    6868
    6969                                <div class="entry-categories">
    70                                     <span class="screen-reader-text"><?php esc_html_e( 'Categories', 'twentytwenty' ); ?></span>
     70                                    <span class="screen-reader-text"><?php _e( 'Categories', 'twentytwenty' ); ?></span>
    7171                                    <div class="entry-categories-inner">
    7272                                        <?php the_category( ' ' ); ?>
     
    8686                                    <a href="#post-inner" class="to-the-content fill-children-current-color">
    8787                                        <?php twentytwenty_the_theme_svg( 'arrow-down' ); ?>
    88                                         <div class="screen-reader-text"><?php _e( 'Scroll Down', 'twentytwenty' ); // phpcs:ignore WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></div>
     88                                        <div class="screen-reader-text"><?php _e( 'Scroll Down', 'twentytwenty' ); ?></div>
    8989                                    </a><!-- .to-the-content -->
    9090
     
    134134        </div><!-- .entry-content -->
    135135        <?php
    136 
    137136        wp_link_pages(
    138137            array(
    139                 'before' => '<nav class="post-nav-links bg-light-background" aria-label="' . esc_attr__( 'Page', 'twentytwenty' ) . '"><span class="label">' . __( 'Pages:', 'twentytwenty' ) . '</span>',
    140                 'after'  => '</nav>',
     138                'before'      => '<nav class="post-nav-links bg-light-background" aria-label="' . esc_attr__( 'Page', 'twentytwenty' ) . '"><span class="label">' . __( 'Pages:', 'twentytwenty' ) . '</span>',
     139                'after'       => '</nav>',
     140                'link_before' => '<span class="page-number">',
     141                'link_after'  => '</span>',
    141142            )
    142143        );
Note: See TracChangeset for help on using the changeset viewer.