Changeset 13147 for trunk/wp-content/themes/twentyten/single.php
- Timestamp:
- 02/14/2010 10:02:38 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyten/single.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/single.php
r13128 r13147 16 16 <div class="entry-meta"> 17 17 <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( $authordata->ID, $authordata->user_nicename); ?>" 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> 19 19 <span class="meta-sep"><?php _e( ' on ', 'twentyten' ); ?> </span> 20 20 <a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a> … … 36 36 <?php the_author_meta('description'); ?> 37 37 <div id="author-link"> 38 <a href="<?php echo get_author_posts_url( $authordata->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(); ?> →</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(); ?> →</a> 39 39 </div><!-- #author-link --> 40 40 </div><!-- #author-description -->
Note:
See TracChangeset
for help on using the changeset viewer.