WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (4 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php

    r40904 r42343  
    1212<article id="post-<?php the_ID(); ?>" <?php post_class( 'twentyseventeen-panel ' ); ?> >
    1313
    14     <?php if ( has_post_thumbnail() ) :
     14    <?php
     15    if ( has_post_thumbnail() ) :
    1516        $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
    1617
     
    3738                <?php
    3839                    /* translators: %s: Name of current post */
    39                     the_content( sprintf(
    40                         __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
    41                         get_the_title()
    42                     ) );
     40                    the_content(
     41                        sprintf(
     42                            __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
     43                            get_the_title()
     44                        )
     45                    );
    4346                ?>
    4447            </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.