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-gallery.php

    r30795 r42343  
    2424            <?php
    2525            /* translators: %s: Name of current post */
    26             the_content( sprintf(
    27                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
    28                 the_title( '<span class="screen-reader-text">', '</span>', false )
    29             ) );
     26            the_content(
     27                sprintf(
     28                    __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
     29                    the_title( '<span class="screen-reader-text">', '</span>', false )
     30                )
     31            );
    3032
    31             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>' ) );
     33            wp_link_pages(
     34                array(
     35                    'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>',
     36                    'after'       => '</div>',
     37                    'link_before' => '<span>',
     38                    'link_after'  => '</span>',
     39                )
     40            );
    3241        ?>
    3342        <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.