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/twentyten/category.php

    r25746 r42343  
    1313            <div id="content" role="main">
    1414
    15                 <h1 class="page-title"><?php
     15                <h1 class="page-title">
     16                <?php
    1617                    printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
    17                 ?></h1>
     18                ?>
     19                </h1>
    1820                <?php
    1921                    $category_description = category_description();
    20                     if ( ! empty( $category_description ) )
    21                         echo '<div class="archive-meta">' . $category_description . '</div>';
     22                if ( ! empty( $category_description ) ) {
     23                    echo '<div class="archive-meta">' . $category_description . '</div>';
     24                }
    2225
    2326                /*
Note: See TracChangeset for help on using the changeset viewer.