Ticket #17385: 17385.diff
File 17385.diff, 12.9 KB (added by , 14 years ago) |
---|
-
wp-content/themes/twentyeleven/content-single.php
13 13 <h1 class="entry-title"><?php the_title(); ?></h1> 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">%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 --> 28 19 -
wp-content/themes/twentyeleven/content-aside.php
3 3 * The template for displaying posts in the Aside Post Format on index and archive pages 4 4 * 5 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Eleven 9 9 * @since Twenty Eleven 1.0 … … 19 19 20 20 <?php if ( 'post' == $post->post_type ) : ?> 21 21 <?php endif; ?> 22 22 23 23 <?php if ( comments_open() ) : ?> 24 24 <div class="comments-link"> 25 25 <?php comments_popup_link( __( '<span class="leave-reply">Reply</span>', 'twentyeleven' ), __( '1', 'twentyeleven' ), __( '%', 'twentyeleven' ) ); ?> … … 39 39 <?php endif; ?> 40 40 41 41 <footer class="entry-meta"> 42 <?php 43 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">%6$s</a></span>', 'twentyeleven' ), 44 get_permalink(), 45 get_the_date( 'c' ), 46 get_the_date(), 47 get_author_posts_url( get_the_author_meta( 'ID' ) ), 48 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 49 get_the_author() 50 ); 51 ?> 42 <?php twentyeleven_posted_on(); ?> 52 43 <?php if ( comments_open() ) : ?> 53 44 <span class="sep"> | </span> 54 45 <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'twentyeleven' ), __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> -
wp-content/themes/twentyeleven/content-link.php
3 3 * The template for displaying posts in the Link Post Format on index and archive pages 4 4 * 5 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Eleven 9 9 * @since Twenty Eleven 1.0 … … 39 39 <?php endif; ?> 40 40 41 41 <footer class="entry-meta"> 42 <?php 43 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">%6$s</a></span>', 'twentyeleven' ), 44 get_permalink(), 45 get_the_date( 'c' ), 46 get_the_date(), 47 get_author_posts_url( get_the_author_meta( 'ID' ) ), 48 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 49 get_the_author() 50 ); 51 ?> 42 <?php twentyeleven_posted_on(); ?> 52 43 <?php if ( comments_open() ) : ?> 53 44 <span class="sep"> | </span> 54 45 <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'twentyeleven' ), __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> -
wp-content/themes/twentyeleven/content-featured.php
14 14 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 15 15 16 16 <div class="entry-meta"> 17 <?php 18 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">%6$s</a></span>', 'twentyeleven' ), 19 get_permalink(), 20 get_the_date( 'c' ), 21 get_the_date(), 22 get_author_posts_url( get_the_author_meta( 'ID' ) ), 23 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 24 get_the_author() 25 ); 26 ?> 17 <?php twentyeleven_posted_on(); ?> 27 18 </div><!-- .entry-meta --> 28 19 </header><!-- .entry-header --> 29 20 -
wp-content/themes/twentyeleven/content.php
21 21 22 22 <?php if ( 'post' == $post->post_type ) : ?> 23 23 <div class="entry-meta"> 24 <?php 25 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">%6$s</a></span>', 'twentyeleven' ), 26 get_permalink(), 27 get_the_date( 'c' ), 28 get_the_date(), 29 get_author_posts_url( get_the_author_meta( 'ID' ) ), 30 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 31 get_the_author() 32 ); 33 ?> 24 <?php twentyeleven_posted_on(); ?> 34 25 </div><!-- .entry-meta --> 35 26 <?php endif; ?> 36 27 -
wp-content/themes/twentyeleven/content-image.php
38 38 <footer class="entry-meta"> 39 39 <?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?> 40 40 <div class="entry-meta"> 41 <?php 42 printf( __( '<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">%6$s</a></span>', 'twentyeleven' ), 43 get_permalink(), 44 get_the_date( 'c' ), 45 get_the_date(), 46 get_author_posts_url( get_the_author_meta( 'ID' ) ), 47 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 48 get_the_author() 49 ); 50 ?> 41 <?php twentyeleven_posted_on(); ?> 51 42 </div><!-- .entry-meta --> 52 43 <div class="entry-meta"> 53 44 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span> -
wp-content/themes/twentyeleven/content-status.php
3 3 * The template for displaying posts in the Status Post Format on index and archive pages 4 4 * 5 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Eleven 9 9 */ … … 18 18 19 19 <?php if ( 'post' == $post->post_type ) : ?> 20 20 <?php endif; ?> 21 21 22 22 <?php if ( comments_open() ) : ?> 23 23 <div class="comments-link"> 24 24 <?php comments_popup_link( __( '<span class="leave-reply">Reply</span>', 'twentyeleven' ), __( '1', 'twentyeleven' ), __( '%', 'twentyeleven' ) ); ?> … … 33 33 <?php else : ?> 34 34 <div class="entry-content"> 35 35 <div class="avatar"><?php echo get_avatar( $post->post_author, apply_filters( 'twentyeleven_status_avatar', '65' ) ); ?></div> 36 36 37 37 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> 38 38 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?> 39 39 </div><!-- .entry-content --> 40 40 <?php endif; ?> 41 41 42 42 <footer class="entry-meta"> 43 <?php 44 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">%6$s</a></span>', 'twentyeleven' ), 45 get_permalink(), 46 get_the_date( 'c' ), 47 get_the_date(), 48 get_author_posts_url( get_the_author_meta( 'ID' ) ), 49 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 50 get_the_author() 51 ); 52 ?> 43 <?php twentyeleven_posted_on(); ?> 53 44 <?php if ( comments_open() ) : ?> 54 45 <span class="sep"> | </span> 55 46 <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'twentyeleven' ), __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> -
wp-content/themes/twentyeleven/content-quote.php
17 17 18 18 <?php if ( 'post' == $post->post_type ) : ?> 19 19 <div class="entry-meta"> 20 <?php 21 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">%6$s</a></span>', 'twentyeleven' ), 22 get_permalink(), 23 get_the_date( 'c' ), 24 get_the_date(), 25 get_author_posts_url( get_the_author_meta( 'ID' ) ), 26 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 27 get_the_author() 28 ); 29 ?> 20 <?php twentyeleven_posted_on(); ?> 30 21 </div><!-- .entry-meta --> 31 22 <?php endif; ?> 32 23 -
wp-content/themes/twentyeleven/content-gallery.php
18 18 </hgroup> 19 19 20 20 <div class="entry-meta"> 21 <?php 22 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">%6$s</a></span>', 'twentyeleven' ), 23 get_permalink(), 24 get_the_date( 'c' ), 25 get_the_date(), 26 get_author_posts_url( get_the_author_meta( 'ID' ) ), 27 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 28 get_the_author() 29 ); 30 ?> 21 <?php twentyeleven_posted_on(); ?> 31 22 </div><!-- .entry-meta --> 32 23 </header><!-- .entry-header --> 33 24 -
wp-content/themes/twentyeleven/functions.php
558 558 break; 559 559 endswitch; 560 560 } 561 endif; // ends check for twentyeleven_comment() 562 No newline at end of file 561 endif; // ends check for twentyeleven_comment() 562 563 if ( ! function_exists( 'twentyeleven_posted_on' ) ) : 564 /** 565 * Prints HTML with meta information for the current post-date/time and author. 566 * 567 * @since Twenty Eleven 1.0 568 */ 569 function twentyeleven_posted_on() { 570 printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s">%7$s</a></span>', 'twentyeleven' ), 571 get_permalink(), 572 esc_attr( get_the_time() ), 573 get_the_date( 'c' ), 574 get_the_date(), 575 get_author_posts_url( get_the_author_meta( 'ID' ) ), 576 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 577 get_the_author() 578 ); 579 } 580 endif;