Ticket #23128: 23128.3.diff

File 23128.3.diff, 977 bytes (added by lancewillett, 2 months ago)
Line 
1Index: wp-content/themes/twentytwelve/functions.php
2===================================================================
3--- wp-content/themes/twentytwelve/functions.php        (revision 23713)
4+++ wp-content/themes/twentytwelve/functions.php        (working copy)
5@@ -318,10 +318,10 @@
6                        <header class="comment-meta comment-author vcard">
7                                <?php
8                                        echo get_avatar( $comment, 44 );
9-                                       printf( '<cite class="fn">%1$s %2$s</cite>',
10+                                       printf( '<cite><b class="fn">%1$s</b> %2$s</cite>',
11                                                get_comment_author_link(),
12                                                // If current post author is also comment author, make it known visually.
13-                                               ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
14+                                               ( $comment->user_id === $post->post_author ) ? '<span>' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
15                                        );
16                                        printf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
17                                                esc_url( get_comment_link( $comment->comment_ID ) ),