- <?php
- /* translators: 2: comment date, 3: comment time */
- printf( __( '<a href="%1$s">%2$s at %3$s</a>' ),
- esc_url( get_comment_link( $comment->comment_ID ) ),
- /* translators: comment date format. See http://php.net/date */
- get_comment_date( __( 'Y/m/d' ) ),
- get_comment_date( get_option( 'time_format' ) )
- );
- ?>
+ <a href="<?php echo esc_url( get_comment_link( $comment ) ); ?>"><?php
+ /* translators: 1: comment date, 2: comment time */
+ printf( __( '%1$s at %2$s' ),
+ /* translators: comment date format. See http://php.net/date */
+ get_comment_date( __( 'Y/m/d' ), $comment ),
+ get_comment_date( get_option( 'time_format' ), $comment )
+ );
+ ?></a>