Ticket #28411: 28411.2.patch
File 28411.2.patch, 3.1 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/edit.css
485 485 height: auto !important; 486 486 } 487 487 488 # misc-publishing-actions label[for="post_status"]:before,488 #post-body .misc-pub-post-status:before, 489 489 #post-body #visibility:before, 490 490 .curtime #timestamp:before, 491 491 #post-body .misc-pub-revisions:before, … … 493 493 color: #82878c; 494 494 } 495 495 496 #post-body .misc-pub-post-status:before, 496 497 #post-body #visibility:before, 497 498 .curtime #timestamp:before, 498 499 #post-body .misc-pub-revisions:before { … … 499 500 font: normal 20px/1 dashicons; 500 501 speak: none; 501 502 display: inline-block; 502 padding: 0 2px 0 0; 503 top: 0; 504 left: -1px; 505 position: relative; 503 padding-right: 2px; 506 504 vertical-align: top; 507 505 -webkit-font-smoothing: antialiased; 508 506 -moz-osx-font-smoothing: grayscale; 509 text-decoration: none !important;510 507 } 511 508 509 #post-body .misc-pub-post-status:before { 510 content: "\f173"; 511 } 512 512 513 #post-body #visibility:before { 513 514 content: "\f177"; 514 515 } … … 515 516 516 517 .curtime #timestamp:before { 517 518 content: "\f145"; 519 position: relative; 518 520 top: -1px; 519 521 } 520 522 -
src/wp-admin/css/forms.css
453 453 vertical-align: baseline; 454 454 } 455 455 456 #misc-publishing-actions label[for="post_status"]:before {457 content: "\f173";458 display: inline-block;459 font: normal 20px/1 dashicons;460 speak: none;461 left: -1px;462 padding: 0 5px 0 0;463 position: relative;464 top: 0;465 text-decoration: none !important;466 vertical-align: top;467 -webkit-font-smoothing: antialiased;468 -moz-osx-font-smoothing: grayscale;469 }470 471 456 #pass-strength-result { 472 457 background-color: #eee; 473 458 border: 1px solid #ddd; -
src/wp-admin/includes/meta-boxes.php
74 74 75 75 <div id="misc-publishing-actions"> 76 76 77 <div class="misc-pub-section misc-pub-post-status"><label for="post_status"><?php _e('Status:') ?></label> 78 <span id="post-status-display"> 79 <?php 77 <div class="misc-pub-section misc-pub-post-status"> 78 <?php _e( 'Status:' ) ?> <span id="post-status-display"><?php 80 79 switch ( $post->post_status ) { 81 80 case 'private': 82 81 _e('Privately Published'); … … 102 101 103 102 <div id="post-status-select" class="hide-if-js"> 104 103 <input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo esc_attr( ('auto-draft' == $post->post_status ) ? 'draft' : $post->post_status); ?>" /> 105 <select name='post_status' id='post_status'> 104 <label for="post_status" class="screen-reader-text"><?php _e( 'Set status' ) ?></label> 105 <select name="post_status" id="post_status"> 106 106 <?php if ( 'publish' == $post->post_status ) : ?> 107 107 <option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option> 108 108 <?php elseif ( 'private' == $post->post_status ) : ?>