WordPress.org

Make WordPress Core

Ticket #21897: 21897.2.diff

File 21897.2.diff, 1.8 KB (added by MikeHansenMe, 19 months ago)

updated styles for TwentyEleven. TwentyTwelve and TwentyTen look good as is.

  • wp-includes/comment-template.php

     
    15211521        $req = get_option( 'require_name_email' ); 
    15221522        $aria_req = ( $req ? " aria-required='true'" : '' ); 
    15231523        $fields =  array( 
    1524                 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . 
     1524                'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 
    15251525                            '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 
    1526                 'email'  => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . 
     1526                'email'  => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 
    15271527                            '<input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', 
    15281528                'url'    => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' . 
    15291529                            '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', 
  • wp-content/themes/twentyeleven/style.css

     
    21232123        font-weight: bold; 
    21242124        left: 75%; 
    21252125        position: absolute; 
    2126         top: 45px; 
    21272126        z-index: 1; 
    21282127} 
    21292128#respond .comment-notes,