WordPress.org

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

    r31266 r42343  
    2222     * properly with a call to rewind_posts().
    2323     */
    24     if ( have_posts() )
    25         the_post();
     24if ( have_posts() ) {
     25    the_post();
     26}
    2627?>
    2728
     
    3031<?php
    3132// If a user has filled out their description, show a bio on their entries.
    32 if ( get_the_author_meta( 'description' ) ) : ?>
     33if ( get_the_author_meta( 'description' ) ) :
     34?>
    3335                    <div id="entry-author-info">
    3436                        <div id="author-avatar">
Note: See TracChangeset for help on using the changeset viewer.