Make WordPress Core

Ticket #43586: 43586.7.diff

File 43586.7.diff, 3.3 KB (added by rhetorical, 7 years ago)
  • src/wp-admin/css/common.css

    diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
    index cbae1c5d68..23eebae236 100644
    a b html.wp-toolbar { 
    20602060        user-select: none;
    20612061}
    20622062
    2063 .postbox .inside,
     2063.postbox .inside {
     2064  padding: 0 12px 12px;
     2065  line-height: 1.4em;
     2066  font-size: 13px;
     2067}
     2068
    20642069.stuffbox .inside {
    2065         padding: 0 12px 12px;
    2066         line-height: 1.4em;
    2067         font-size: 13px;
     2070  padding: 0;
     2071  line-height: 1.4em;
     2072  font-size: 13px;
     2073  margin-top: 0;
    20682074}
    20692075
    20702076.postbox .inside {
    body.iframe { 
    23622368}
    23632369
    23642370.edit-comment-author {
    2365         font-size: 14px;
    2366         line-height: 1.4;
    2367         font-weight: 600;
    23682371        color: #222;
    2369         margin: 2px 0 0 9px;
     2372        border-bottom: 1px solid #eee;
    23702373}
    23712374
    23722375#namediv h3 label, /* Back-compat for pre-4.4 */
  • src/wp-admin/css/edit.css

    diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
    index 9c7c257f53..982df505b6 100644
    a b span.wp-media-buttons-icon:before { 
    607607        line-height: 1.4;
    608608}
    609609
     610#poststuff .stuffbox h2 {
     611  padding: 8px 10px;
     612}
     613
    610614#poststuff .inside {
    611615        margin: 6px 0 0 0;
    612616}
    613617
     618#poststuff .stuffbox .inside {
     619  margin: 0;
     620}
     621
    614622#poststuff .inside #parent_id,
    615623#poststuff .inside #page_template {
    616624        max-width: 100%;
    p.popular-tags a { 
    11591167
    11601168.stuffbox .editcomment {
    11611169        clear: none;
     1170        margin-top: 0;
     1171}
     1172
     1173#namediv.stuffbox .editcomment input {
     1174  width: 100%;
     1175}
     1176
     1177#namediv.stuffbox .editcomment.form-table td {
     1178  padding: 10px;
    11621179}
    11631180
    11641181#comment-status-radio p {
    table.links-table { 
    13631380        #poststuff h2 {
    13641381                padding: 12px;
    13651382        }
     1383       
     1384        #namediv.stuffbox .editcomment.form-table td {
     1385          padding: 5px 10px;
     1386        }
    13661387
    13671388        .post-format-options {
    13681389                padding-right: 0;
  • src/wp-admin/edit-form-comment.php

    diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
    index e043908c30..499ed96a97 100644
    a b if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ 
    3737<div id="namediv" class="stuffbox">
    3838<div class="inside">
    3939<fieldset>
    40 <legend class="edit-comment-author"><?php _e( 'Author' ); ?></legend>
     40<h2 class="edit-comment-author">
     41        <span><?php _e( 'Author' ); ?></span>
     42</h2>
    4143<table class="form-table editcomment">
    4244<tbody>
    4345<tr>
    44         <td class="first"><label for="name"><?php _e( 'Name:' ); ?></label></td>
     46        <td class="first"><label for="name"><?php _e( 'Name' ); ?></label></td>
    4547        <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    4648</tr>
    4749<tr>
    48         <td class="first"><label for="email"><?php _e( 'Email:' ); ?></label></td>
     50        <td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
    4951        <td>
    5052                <input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" />
    5153        </td>
    5254</tr>
    5355<tr>
    54         <td class="first"><label for="newcomment_author_url"><?php _e( 'URL:' ); ?></label></td>
     56        <td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
    5557        <td>
    5658                <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_url ); ?>" />
    5759        </td>
    5860</tr>
    5961</tbody>
    6062</table>
    61 <br />
    6263</fieldset>
    6364</div>
    6465</div>