Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 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.php

    r30795 r42343  
    4141        <?php
    4242            /* translators: %s: Name of current post */
    43             the_content( sprintf(
    44                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
    45                 the_title( '<span class="screen-reader-text">', '</span>', false )
    46             ) );
     43            the_content(
     44                sprintf(
     45                    __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     46                    the_title( '<span class="screen-reader-text">', '</span>', false )
     47                )
     48            );
    4749
    48             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>' ) );
     50            wp_link_pages(
     51                array(
     52                    'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>',
     53                    'after'       => '</div>',
     54                    'link_before' => '<span>',
     55                    'link_after'  => '</span>',
     56                )
     57            );
    4958        ?>
    5059    </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.