Changeset 6277 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php
- Timestamp:
- 12/15/2017 12:13:33 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php
r5942 r6277 7 7 8 8 namespace WordPressdotorg\Theme; 9 9 10 ?> 10 11 … … 12 13 <header class="entry-header"> 13 14 <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> 14 <span class="sticky-post"><?php _e( 'Featured', 'wporg' ); ?></span>15 <span class="sticky-post"><?php esc_html_e( 'Featured', 'wporg' ); ?></span> 15 16 <?php 16 17 endif; 17 18 18 if ( is_single() ) : 19 if ( is_single() ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact 19 20 the_title( '<h2 class="entry-title">', '</h2>' ); 20 21 else : … … 28 29 <div class="entry-content"> 29 30 <?php 30 /* translators: %s: Name of current post */31 31 the_content( sprintf( 32 /* translators: %s: Name of current post */ 32 33 __( 'Continue reading<span class="screen-reader-text"> "%s"</span> →', 'wporg' ), 33 34 get_the_title()
Note: See TracChangeset
for help on using the changeset viewer.