WordPress.org

Make WordPress Core

Changeset 23690


Ignore:
Timestamp:
03/13/13 22:45:08 (2 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.

Location:
trunk/wp-content/themes/twentythirteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/comments.php

    r23680 r23690  
    5151    <?php endif; // have_comments() ?> 
    5252 
    53     <?php comment_form(); ?> 
     53    <?php comment_form( array( 'format' => 'html5' ) ); ?> 
    5454 
    5555</div><!-- #comments --> 
  • trunk/wp-content/themes/twentythirteen/rtl.css

    r23680 r23690  
    653653} 
    654654 
    655 #commentform label[for="author"], 
    656 #commentform label[for="email"], 
    657 #commentform label[for="url"], 
    658 #commentform label[for="comment"] { 
     655#commentform label { 
    659656    float: right; 
    660657} 
  • trunk/wp-content/themes/twentythirteen/style.css

    r23687 r23690  
    23942394} 
    23952395 
    2396 #commentform label[for="author"], 
    2397 #commentform label[for="email"], 
    2398 #commentform label[for="url"], 
    2399 #commentform label[for="comment"] { 
     2396#commentform label { 
    24002397    float: left; 
    24012398    padding: 5px 0; 
     
    24072404} 
    24082405 
    2409 #commentform input[type="text"] { 
     2406#commentform input[type="text"], 
     2407#commentform input[type="email"], 
     2408#commentform input[type="url"] { 
    24102409    max-width: 270px; 
    24112410    width: 60%; 
     
    30283027    } 
    30293028 
    3030     #commentform input[type="text"] { 
     3029    #commentform input[type="text"], 
     3030    #commentform input[type="email"], 
     3031    #commentform input[type="url"] { 
    30313032        width: -webkit-calc(100% - 100px); 
    30323033        width:         calc(100% - 100px); 
Note: See TracChangeset for help on using the changeset viewer.