Changeset 7861 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php
- Timestamp:
- 11/16/2018 09:24:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php
r7671 r7861 618 618 <?php echo get_avatar( $comment, 60 ); ?> 619 619 <?php printf( 620 __( '%s <span class="says">says:</span>', 'twentyten'),621 sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() )620 wp_kses_post( __( '%s <span class="says">says:</span>', 'twentyten' ) ), 621 sprintf( '<cite class="fn">%s</cite>', wp_kses_post( get_comment_author_link() ) ) 622 622 ); ?> 623 623 </div> … … 630 630 <?php endif; ?> 631 631 632 <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> 633 <?php 634 /* translators: 1: date, 2: time */ 635 printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); 636 ?> 632 <div class="comment-meta commentmetadata"> 633 <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> 634 <?php 635 /* translators: 1: date, 2: time */ 636 printf( 637 esc_html__( '%1$s at %2$s', 'twentyten' ), 638 get_comment_date(), 639 get_comment_time() 640 ); 641 ?> 642 </a> 643 644 <?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?> 637 645 </div> 638 646 … … 715 723 } 716 724 717 echo "$start_month $start_day";725 echo esc_html( "$start_month $start_day" ); 718 726 719 727 if ( $end_day ) { 720 728 if ( $show_year && $start_year !== $end_year ) { 721 echo ", $start_year";729 echo esc_html( ", $start_year" ); 722 730 } 723 731 … … 725 733 726 734 if ( $start_month !== $end_month ) { 727 echo "$end_month ";728 } 729 730 echo $end_day;735 echo esc_html( "$end_month " ); 736 } 737 738 echo esc_html( $end_day ); 731 739 732 740 if ( $show_year ) { 733 echo ", $end_year";741 echo esc_html( ", $end_year" ); 734 742 } 735 743 } elseif ( $show_year ) { 736 echo ", $start_year";744 echo esc_html( ", $start_year" ); 737 745 } 738 746 }
Note: See TracChangeset
for help on using the changeset viewer.