Changeset 47252
- Timestamp:
- 02/11/2020 12:05:01 AM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r47071 r47252 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 } -
trunk/src/wp-admin/css/edit.css
r47222 r47252 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 } … … 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; … … 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 } … … 482 487 #post-body .misc-pub-revisions:before { 483 488 content: "\f321"; 489 } 490 491 #post-body .misc-pub-response-to:before { 492 content: "\f101"; 484 493 } 485 494 … … 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; … … 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; -
trunk/src/wp-admin/edit-form-comment.php
r47222 r47252 88 88 <div id="postbox-container-1" class="postbox-container"> 89 89 <div id="submitdiv" class="stuffbox" > 90 <h2><?php _e( 'S tatus' ); ?></h2>90 <h2><?php _e( 'Save' ); ?></h2> 91 91 <div class="inside"> 92 92 <div class="submitbox" id="submitcomment"> … … 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 /> … … 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
Note: See TracChangeset
for help on using the changeset viewer.