Ticket #43587: 43587.3.diff
File 43587.3.diff, 4.4 KB (added by , 7 years ago) |
---|
-
wp-admin/css/common.css
diff --git wp-admin/css/common.css wp-admin/css/common.css index cbae1c5d68..527ed1cafe 100644
html.wp-toolbar { 2111 2111 #pass-strength-result.short, 2112 2112 #ed_reply_toolbar #ed_reply_strong, 2113 2113 .item-controls .item-order a, 2114 .feature-filter .feature-name { 2114 .feature-filter .feature-name, 2115 #comment-status-display { 2115 2116 font-weight: 600; 2116 2117 } 2117 2118 -
wp-admin/css/edit.css
diff --git wp-admin/css/edit.css wp-admin/css/edit.css index 9c7c257f53..a0905e7ca7 100644
form#tags-filter { 448 448 #post-body #visibility:before, 449 449 .curtime #timestamp:before, 450 450 #post-body .misc-pub-revisions:before, 451 span.wp-media-buttons-icon:before { 451 span.wp-media-buttons-icon:before, 452 #post-body .misc-pub-response-to:before, 453 #post-body .misc-pub-comment-status:before { 452 454 color: #82878c; 453 455 } 454 456 455 457 #post-body .misc-pub-post-status:before, 456 458 #post-body #visibility:before, 457 459 .curtime #timestamp:before, 458 #post-body .misc-pub-revisions:before { 460 #post-body .misc-pub-revisions:before, 461 #post-body .misc-pub-response-to:before, 462 #post-body .misc-pub-comment-status:before { 459 463 font: normal 20px/1 dashicons; 460 464 speak: none; 461 465 display: inline-block; … … span.wp-media-buttons-icon:before { 466 470 -moz-osx-font-smoothing: grayscale; 467 471 } 468 472 469 #post-body .misc-pub-post-status:before { 473 #post-body .misc-pub-post-status:before, 474 #post-body .misc-pub-comment-status:before { 470 475 content: "\f173"; 471 476 } 472 477 … … span.wp-media-buttons-icon:before { 484 489 content: "\f321"; 485 490 } 486 491 492 #post-body .misc-pub-response-to:before { 493 content: "\f101"; 494 } 495 487 496 #timestampdiv { 488 497 padding-top: 5px; 489 498 line-height: 23px; … … span.wp-media-buttons-icon:before { 607 616 line-height: 1.4; 608 617 } 609 618 619 #poststuff .stuffbox > h2 { 620 border-bottom: 1px solid #eee; 621 } 622 610 623 #poststuff .inside { 611 624 margin: 6px 0 0 0; 612 625 } … … span.wp-media-buttons-icon:before { 630 643 font-weight: 600; 631 644 } 632 645 633 #post-visibility-select { 646 #post-visibility-select, 647 #comment-status-radio { 634 648 line-height: 1.5em; 635 649 margin-top: 3px; 636 650 } -
wp-admin/edit-form-comment.php
diff --git wp-admin/edit-form-comment.php wp-admin/edit-form-comment.php index e043908c30..920985bf74 100644
if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ 81 81 82 82 <div id="postbox-container-1" class="postbox-container"> 83 83 <div id="submitdiv" class="stuffbox" > 84 <h2><?php _e( 'S tatus' ); ?></h2>84 <h2><?php _e( 'Save' ); ?></h2> 85 85 <div class="inside"> 86 86 <div class="submitbox" id="submitcomment"> 87 87 <div id="minor-publishing"> 88 88 89 89 <div id="misc-publishing-actions"> 90 90 91 <fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> 92 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> 93 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> 94 <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> 95 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> 91 <div class="misc-pub-section misc-pub-comment-status" id="comment-status"> 92 <?php _e( 'Status:' ); ?> <span id="comment-status-display"> 93 <?php 94 95 switch ( $comment->comment_approved ) { 96 case '1': 97 _e( 'Approved' ); 98 break; 99 case '0': 100 _e( 'Pending' ); 101 break; 102 case 'spam': 103 _e( 'Spam' ); 104 break; 105 } 106 ?> 107 </span> 108 109 <fieldset id="comment-status-radio"> 110 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> 111 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> 112 <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> 113 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> 96 114 </fieldset> 97 115 116 </div><!-- .misc-pub-section --> 117 98 118 <div class="misc-pub-section curtime misc-pub-curtime"> 99 119 <?php 100 120 /* translators: Publish box date format, see https://secure.php.net/date */