diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
index a8b8112..5c97f14 100644
|
|
html.wp-toolbar { |
2151 | 2151 | #pass-strength-result.short, |
2152 | 2152 | #ed_reply_toolbar #ed_reply_strong, |
2153 | 2153 | .item-controls .item-order a, |
2154 | | .feature-filter .feature-name { |
| 2154 | .feature-filter .feature-name, |
| 2155 | #comment-status-display { |
2155 | 2156 | font-weight: 600; |
2156 | 2157 | } |
2157 | 2158 | |
diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
index 35e4e1e..bab9ee2 100644
|
|
form#tags-filter { |
447 | 447 | #post-body .misc-pub-post-status:before, |
448 | 448 | #post-body #visibility:before, |
449 | 449 | .curtime #timestamp:before, |
450 | | #post-body .misc-pub-revisions:before { |
| 450 | #post-body .misc-pub-revisions:before, |
| 451 | #post-body .misc-pub-response-to:before, |
| 452 | #post-body .misc-pub-comment-status:before { |
451 | 453 | color: #82878c; |
452 | 454 | } |
453 | 455 | |
454 | 456 | #post-body .misc-pub-post-status:before, |
455 | 457 | #post-body #visibility:before, |
456 | 458 | .curtime #timestamp:before, |
457 | | #post-body .misc-pub-revisions:before { |
| 459 | #post-body .misc-pub-revisions:before, |
| 460 | #post-body .misc-pub-response-to:before, |
| 461 | #post-body .misc-pub-comment-status:before { |
458 | 462 | font: normal 20px/1 dashicons; |
459 | 463 | speak: none; |
460 | 464 | display: inline-block; |
… |
… |
form#tags-filter { |
465 | 469 | -moz-osx-font-smoothing: grayscale; |
466 | 470 | } |
467 | 471 | |
468 | | #post-body .misc-pub-post-status:before { |
| 472 | #post-body .misc-pub-post-status:before, |
| 473 | #post-body .misc-pub-comment-status:before { |
469 | 474 | content: "\f173"; |
470 | 475 | } |
471 | 476 | |
… |
… |
form#tags-filter { |
483 | 488 | content: "\f321"; |
484 | 489 | } |
485 | 490 | |
| 491 | #post-body .misc-pub-response-to:before { |
| 492 | content: "\f101"; |
| 493 | } |
| 494 | |
486 | 495 | #timestampdiv { |
487 | 496 | padding-top: 5px; |
488 | 497 | line-height: 1.76923076; |
… |
… |
form#tags-filter { |
609 | 618 | padding: 8px 10px; |
610 | 619 | } |
611 | 620 | |
| 621 | #poststuff .stuffbox > h2 { |
| 622 | border-bottom: 1px solid #eee; |
| 623 | } |
| 624 | |
612 | 625 | #poststuff .inside { |
613 | 626 | margin: 6px 0 0 0; |
614 | 627 | } |
… |
… |
form#tags-filter { |
636 | 649 | font-weight: 600; |
637 | 650 | } |
638 | 651 | |
639 | | #post-visibility-select { |
| 652 | #post-visibility-select, |
| 653 | #comment-status-radio { |
640 | 654 | line-height: 1.5; |
641 | 655 | margin-top: 3px; |
642 | 656 | } |
diff --git src/wp-admin/edit-form-comment.php src/wp-admin/edit-form-comment.php
index 43b568a..8047a48 100644
|
|
if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ |
87 | 87 | |
88 | 88 | <div id="postbox-container-1" class="postbox-container"> |
89 | 89 | <div id="submitdiv" class="stuffbox" > |
90 | | <h2><?php _e( 'Status' ); ?></h2> |
| 90 | <h2><?php _e( 'Save' ); ?></h2> |
91 | 91 | <div class="inside"> |
92 | 92 | <div class="submitbox" id="submitcomment"> |
93 | 93 | <div id="minor-publishing"> |
94 | 94 | |
95 | 95 | <div id="misc-publishing-actions"> |
96 | 96 | |
97 | | <fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> |
| 97 | <div class="misc-pub-section misc-pub-comment-status" id="comment-status"> |
| 98 | <?php _e( 'Status:' ); ?> <span id="comment-status-display"> |
| 99 | <?php |
| 100 | switch ( $comment->comment_approved ) { |
| 101 | case '1': |
| 102 | _e( 'Approved' ); |
| 103 | break; |
| 104 | case '0': |
| 105 | _e( 'Pending' ); |
| 106 | break; |
| 107 | case 'spam': |
| 108 | _e( 'Spam' ); |
| 109 | break; |
| 110 | } |
| 111 | ?> |
| 112 | </span> |
| 113 | |
| 114 | <fieldset id="comment-status-radio"> |
98 | 115 | <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> |
99 | 116 | <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> |
100 | 117 | <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> |
101 | 118 | <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> |
102 | 119 | </fieldset> |
103 | | |
| 120 | </div><!-- .misc-pub-section --> |
| 121 | |
104 | 122 | <div class="misc-pub-section curtime misc-pub-curtime"> |
105 | 123 | <?php |
106 | 124 | $submitted = sprintf( |