WordPress.org

Make WordPress Core

Ticket #26500: 26500.patch

File 26500.patch, 2.0 KB (added by SergeyBiryukov, 6 years ago)
  • src/wp-admin/css/colors.css

     
    383383}
    384384
    385385.wrap .add-new-h2,
    386 .wrap .add-new-h2:active,
    387 #add-new-comment a {
     386.wrap .add-new-h2:active {
    388387        background: #e0e0e0;
    389388}
    390389
    391 .wrap .add-new-h2:hover,
    392 #add-new-comment a:hover {
     390.wrap .add-new-h2:hover {
    393391        background: #2ea2cc;
    394392        color: #fff;
    395393}
     
    439437        border-color: #c00 !important;
    440438}
    441439
    442 .submit,
    443 #commentsdiv #add-new-comment {
     440.submit {
    444441        border: none;
    445442}
    446443
  • src/wp-admin/css/wp-admin.css

     
    834834}
    835835
    836836.wrap .add-new-h2,
    837 .wrap .add-new-h2:active,
    838 #add-new-comment a {
     837.wrap .add-new-h2:active {
    839838        margin-left: 4px;
    840839        padding: 4px 8px;
    841840        position: relative;
     
    34583457        margin: 0;
    34593458}
    34603459
    3461 #commentsdiv #add-new-comment {
    3462         border-width: 0 0 1px;
    3463         border-style: none none solid;
    3464         margin-top: 6px;
    3465 }
    3466 
    34673460#commentsdiv .comments-box {
    34683461        border: 0 none;
    34693462}
  • src/wp-admin/includes/meta-boxes.php

     
    555555
    556556        wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
    557557        ?>
    558         <p class="hide-if-no-js" id="add-new-comment"><a href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
     558        <p class="hide-if-no-js" id="add-new-comment"><a class="button" href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
    559559        <?php
    560560
    561561        $total = get_comments( array( 'post_id' => $post->ID, 'number' => 1, 'count' => true ) );