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/twentyfourteen/content-page.php

    r26556 r42343  
    1919        <?php
    2020            the_content();
    21             wp_link_pages( array(
    22                 'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
    23                 'after'       => '</div>',
    24                 'link_before' => '<span>',
    25                 'link_after'  => '</span>',
    26             ) );
     21            wp_link_pages(
     22                array(
     23                    'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
     24                    'after'       => '</div>',
     25                    'link_before' => '<span>',
     26                    'link_after'  => '</span>',
     27                )
     28            );
    2729
    2830            edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
Note: See TracChangeset for help on using the changeset viewer.