Changeset 47808 for trunk/src/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r47219 r47808 148 148 149 149 $theme_options = twentyeleven_get_theme_options(); 150 if ( 'dark' == $theme_options['color_scheme'] ) {150 if ( 'dark' === $theme_options['color_scheme'] ) { 151 151 $default_background_color = '1d1d1d'; 152 152 } else { … … 329 329 <?php 330 330 // Has the text been hidden? 331 if ( 'blank' == $text_color ) :331 if ( 'blank' === $text_color ) : 332 332 ?> 333 333 #site-title, … … 720 720 <div class="comment-author vcard"> 721 721 <?php 722 $avatar_size = 68; 722 $avatar_size = 68; 723 723 724 if ( '0' != $comment->comment_parent ) { 724 725 $avatar_size = 39; 725 726 } 726 727 727 728 729 730 731 732 733 734 735 736 737 738 739 740 728 echo get_avatar( $comment, $avatar_size ); 729 730 printf( 731 /* translators: 1: Comment author, 2: Date and time. */ 732 __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), 733 sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), 734 sprintf( 735 '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', 736 esc_url( get_comment_link( $comment->comment_ID ) ), 737 get_comment_time( 'c' ), 738 /* translators: 1: Date, 2: Time. */ 739 sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() ) 740 ) 741 ); 741 742 ?> 742 743 743 744 <?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 744 745 </div><!-- .comment-author .vcard --> 745 746
Note: See TracChangeset
for help on using the changeset viewer.