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/twentythirteen/content-status.php

    r30795 r42343  
    1313        <?php
    1414            /* translators: %s: Name of current post */
    15             the_content( sprintf(
    16                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
    17                 the_title( '<span class="screen-reader-text">', '</span>', false )
    18             ) );
     15            the_content(
     16                sprintf(
     17                    __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     18                    the_title( '<span class="screen-reader-text">', '</span>', false )
     19                )
     20            );
    1921
    20             wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
     22            wp_link_pages(
     23                array(
     24                    'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>',
     25                    'after'       => '</div>',
     26                    'link_before' => '<span>',
     27                    'link_after'  => '</span>',
     28                )
     29            );
    2130        ?>
    2231    </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.