Changeset 18244 for trunk/wp-content/themes/twentyeleven/content-single.php
- Timestamp:
- 06/10/2011 09:57:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/content-single.php
r18189 r18244 14 14 15 15 <div class="entry-meta"> 16 <?php 17 printf( __( '<span class="sep">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span>', 'twentyeleven' ), 18 get_permalink(), 19 get_the_date( 'c' ), 20 get_the_date(), 21 get_author_posts_url( get_the_author_meta( 'ID' ) ), 22 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 23 get_the_author() 24 ); 25 ?> 16 <?php twentyeleven_posted_on(); ?> 26 17 </div><!-- .entry-meta --> 27 18 </header><!-- .entry-header --> … … 46 37 get_the_category_list( __( ', ', 'twentyeleven' ) ), 47 38 $tag_list, 48 get_permalink(),39 esc_url( get_permalink() ), 49 40 the_title_attribute( 'echo=0' ), 50 41 get_the_author(), 51 get_author_posts_url( get_the_author_meta( 'ID') )42 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) 52 43 ); 53 44 ?> … … 63 54 <?php the_author_meta( 'description' ); ?> 64 55 <div id="author-link"> 65 <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID') ); ?>" rel="author">56 <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 66 57 <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyeleven' ), get_the_author() ); ?> 67 58 </a>
Note: See TracChangeset
for help on using the changeset viewer.