Make WordPress Core

Ticket #28411: 28411.2.patch

File 28411.2.patch, 3.1 KB (added by afercia, 8 years ago)
  • src/wp-admin/css/edit.css

     
    485485        height: auto !important;
    486486}
    487487
    488 #misc-publishing-actions label[for="post_status"]:before,
     488#post-body .misc-pub-post-status:before,
    489489#post-body #visibility:before,
    490490.curtime #timestamp:before,
    491491#post-body .misc-pub-revisions:before,
     
    493493        color: #82878c;
    494494}
    495495
     496#post-body .misc-pub-post-status:before,
    496497#post-body #visibility:before,
    497498.curtime #timestamp:before,
    498499#post-body .misc-pub-revisions:before {
     
    499500        font: normal 20px/1 dashicons;
    500501        speak: none;
    501502        display: inline-block;
    502         padding: 0 2px 0 0;
    503         top: 0;
    504         left: -1px;
    505         position: relative;
     503        padding-right: 2px;
    506504        vertical-align: top;
    507505        -webkit-font-smoothing: antialiased;
    508506        -moz-osx-font-smoothing: grayscale;
    509         text-decoration: none !important;
    510507}
    511508
     509#post-body .misc-pub-post-status:before {
     510        content: "\f173";
     511}
     512
    512513#post-body #visibility:before {
    513514        content: "\f177";
    514515}
     
    515516
    516517.curtime #timestamp:before {
    517518        content: "\f145";
     519        position: relative;
    518520        top: -1px;
    519521}
    520522
  • src/wp-admin/css/forms.css

     
    453453        vertical-align: baseline;
    454454}
    455455
    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 
    471456#pass-strength-result {
    472457        background-color: #eee;
    473458        border: 1px solid #ddd;
  • src/wp-admin/includes/meta-boxes.php

     
    7474
    7575<div id="misc-publishing-actions">
    7676
    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
    8079switch ( $post->post_status ) {
    8180        case 'private':
    8281                _e('Privately Published');
     
    102101
    103102<div id="post-status-select" class="hide-if-js">
    104103<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">
    106106<?php if ( 'publish' == $post->post_status ) : ?>
    107107<option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option>
    108108<?php elseif ( 'private' == $post->post_status ) : ?>