Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 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/twentysixteen/template-parts/content-single.php

    r40851 r42343  
    2222            the_content();
    2323
    24             wp_link_pages( array(
    25                 'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>',
    26                 'after'       => '</div>',
    27                 'link_before' => '<span>',
    28                 'link_after'  => '</span>',
    29                 'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%',
    30                 'separator'   => '<span class="screen-reader-text">, </span>',
    31             ) );
     24            wp_link_pages(
     25                array(
     26                    'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>',
     27                    'after'       => '</div>',
     28                    'link_before' => '<span>',
     29                    'link_after'  => '</span>',
     30                    'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%',
     31                    'separator'   => '<span class="screen-reader-text">, </span>',
     32                )
     33            );
    3234
    3335            if ( '' !== get_the_author_meta( 'description' ) ) {
Note: See TracChangeset for help on using the changeset viewer.