Make WordPress Core


Ignore:
Timestamp:
03/15/2013 05:54:36 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/functions.php

    r23713 r23716  
    319319                                <?php
    320320                                        echo get_avatar( $comment, 44 );
    321                                         printf( '<cite class="fn">%1$s %2$s</cite>',
     321                                        printf( '<cite><b class="fn">%1$s</b> %2$s</cite>',
    322322                                                get_comment_author_link(),
    323323                                                // If current post author is also comment author, make it known visually.
    324                                                 ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
     324                                                ( $comment->user_id === $post->post_author ) ? '<span>' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
    325325                                        );
    326326                                        printf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
Note: See TracChangeset for help on using the changeset viewer.