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

    r32116 r42343  
    4545            <?php
    4646            // If a user has filled out their description, show a bio on their entries.
    47             if ( get_the_author_meta( 'description' ) ) : ?>
     47            if ( get_the_author_meta( 'description' ) ) :
     48            ?>
    4849            <div class="author-info">
    4950                <div class="author-avatar">
     
    6869
    6970            <?php /* Start the Loop */ ?>
    70             <?php while ( have_posts() ) : the_post(); ?>
     71            <?php
     72            while ( have_posts() ) :
     73                the_post();
     74?>
    7175                <?php get_template_part( 'content', get_post_format() ); ?>
    7276            <?php endwhile; ?>
Note: See TracChangeset for help on using the changeset viewer.