Make WordPress Core


Ignore:
Timestamp:
03/16/2010 08:17:22 PM (16 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/single.php

    r13498 r13720  
    1616                                        <div class="entry-meta">
    1717                                                <span class="meta-prep meta-prep-author"><?php _e( 'Posted by ', 'twentyten' ); ?></span>
    18                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta('ID') ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
     18                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
    1919                                                <span class="meta-sep"><?php _e( ' on ', 'twentyten' ); ?> </span>
    2020                                                <a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
     
    2727                                        </div><!-- .entry-content -->
    2828
    29 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>
     29<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their decscription show a bio on their entries  ?>
    3030                                        <div id="entry-author-info">
    3131                                                <div id="author-avatar">
    32                                                         <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
     32                                                        <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>
    3333                                                </div><!-- #author-avatar       -->
    3434                                                <div id="author-description">
    3535                                                        <h2><?php _e( 'About ', 'twentyten' ); ?><?php the_author(); ?></h2>
    36                                                         <?php the_author_meta('description'); ?>
     36                                                        <?php the_author_meta( 'description' ); ?>
    3737                                                        <div id="author-link">
    38                                                                 <a href="<?php echo get_author_posts_url( get_the_author_meta('ID') ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> &rarr;</a>
     38                                                                <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> &rarr;</a>
    3939                                                        </div><!-- #author-link -->
    4040                                                </div><!-- #author-description  -->
     
    5252                                                printf(
    5353                                                        $utility_text,
    54                                                         get_the_category_list(', '),
     54                                                        get_the_category_list( ', ' ),
    5555                                                        $tag_list,
    5656                                                        get_permalink(),
    57                                                         the_title_attribute('echo=0'),
     57                                                        the_title_attribute( 'echo=0' ),
    5858                                                        get_post_comments_feed_link()
    5959                                                );
Note: See TracChangeset for help on using the changeset viewer.