Make WordPress Core

Changeset 23716


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

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

Location:
trunk/wp-content/themes/twentytwelve
Files:
3 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>',
  • trunk/wp-content/themes/twentytwelve/rtl.css

    r22896 r23716  
    118118    right: auto;
    119119}
    120 .comments-area li.bypostauthor cite span {
     120.comments-area .bypostauthor cite span {
    121121    margin-right: 5px;
    122122    margin-right: 0.357142857rem;
  • trunk/wp-content/themes/twentytwelve/style.css

    r23562 r23716  
    241241input[type="reset"],
    242242article.post-password-required input[type=submit],
    243 li.bypostauthor cite span {
     243.bypostauthor cite span {
    244244    padding: 6px 10px;
    245245    padding: 0.428571429rem 0.714285714rem;
     
    303303    border-color: transparent;
    304304}
    305 li.bypostauthor cite span {
     305.bypostauthor cite span {
    306306    color: #fff;
    307307    background-color: #21759b;
     
    12001200    font-size: 1.071428571rem;
    12011201    line-height: 1.42857143;
     1202}
     1203.comments-area cite b {
     1204    font-weight: normal;
    12021205}
    12031206.comments-area article header time {
     
    12411244    border: 1px solid #007cbd;
    12421245}
    1243 .comments-area li.bypostauthor cite span {
     1246.comments-area .bypostauthor cite span {
    12441247    position: absolute;
    12451248    margin-left: 5px;
     
    12491252    font-size: 10px;
    12501253    font-size: 0.714285714rem;
     1254}
     1255.comments-area .bypostauthor cite b {
     1256    font-weight: bold;
    12511257}
    12521258a.comment-reply-link,
Note: See TracChangeset for help on using the changeset viewer.