Make WordPress Core


Ignore:
Timestamp:
03/16/2010 08:17:22 PM (14 years ago)
Author:
iammattthomas
Message:

Coding standards cleanup in twentyten, see #9015. Props sivel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/author.php

    r13147 r13720  
    66<?php the_post(); ?>
    77
    8                 <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='" . get_author_posts_url( get_the_author_meta('ID') ) . "' title='" . esc_attr(get_the_author()) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1>
     8                <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1>
    99
    10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>
     10<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their decscription show a bio on their entries  ?>
    1111                    <div id="entry-author-info">
    1212                        <div id="author-avatar">
    13                             <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
     13                            <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>
    1414                        </div><!-- #author-avatar   -->
    1515                        <div id="author-description">
    16                             <h2><?php printf(__('About %s', 'twentyten'), get_the_author()); ?></h2>
    17                             <?php the_author_meta('description'); ?>
     16                            <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2>
     17                            <?php the_author_meta( 'description' ); ?>
    1818                        </div><!-- #author-description  -->
    1919                    </div><!-- .entry-author-info -->
Note: See TracChangeset for help on using the changeset viewer.