- Timestamp:
- 10/08/2019 07:05:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/content-cover.php
r46357 r46445 45 45 ?> 46 46 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 ;) ?>> 48 48 <div class="cover-header-inner-wrapper screen-height"> 49 49 <div class="cover-header-inner"> … … 68 68 69 69 <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> 71 71 <div class="entry-categories-inner"> 72 72 <?php the_category( ' ' ); ?> … … 86 86 <a href="#post-inner" class="to-the-content fill-children-current-color"> 87 87 <?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> 89 89 </a><!-- .to-the-content --> 90 90 … … 134 134 </div><!-- .entry-content --> 135 135 <?php 136 137 136 wp_link_pages( 138 137 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>', 141 142 ) 142 143 );
Note: See TracChangeset
for help on using the changeset viewer.