Making WordPress.org


Ignore:
Timestamp:
12/15/2017 12:13:33 AM (8 years ago)
Author:
obenland
Message:

Main: Conform to WPCS.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php

    r5942 r6277  
    77
    88namespace WordPressdotorg\Theme;
     9
    910?>
    1011
     
    1213    <header class="entry-header">
    1314        <?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>
    1516        <?php
    1617        endif;
    1718
    18         if ( is_single() ) :
     19        if ( is_single() ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
    1920            the_title( '<h2 class="entry-title">', '</h2>' );
    2021        else :
     
    2829    <div class="entry-content">
    2930        <?php
    30             /* translators: %s: Name of current post */
    3131            the_content( sprintf(
     32                /* translators: %s: Name of current post */
    3233                __( 'Continue reading<span class="screen-reader-text"> "%s"</span> &rarr;', 'wporg' ),
    3334                get_the_title()
Note: See TracChangeset for help on using the changeset viewer.