Changeset 38700
- Timestamp:
- 10/02/2016 02:37:54 PM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r38616 r38700 452 452 } 453 453 454 # misc-publishing-actions label[for="post_status"]:before,454 #post-body .misc-pub-post-status:before, 455 455 #post-body #visibility:before, 456 456 .curtime #timestamp:before, … … 460 460 } 461 461 462 #post-body .misc-pub-post-status:before, 462 463 #post-body #visibility:before, 463 464 .curtime #timestamp:before, … … 466 467 speak: none; 467 468 display: inline-block; 468 padding: 0 2px 0 0; 469 top: 0; 470 left: -1px; 471 position: relative; 469 margin-left: -1px; 470 padding-right: 3px; 472 471 vertical-align: top; 473 472 -webkit-font-smoothing: antialiased; 474 473 -moz-osx-font-smoothing: grayscale; 475 text-decoration: none !important; 474 } 475 476 #post-body .misc-pub-post-status:before { 477 content: "\f173"; 476 478 } 477 479 … … 482 484 .curtime #timestamp:before { 483 485 content: "\f145"; 486 position: relative; 484 487 top: -1px; 485 488 } -
trunk/src/wp-admin/css/forms.css
r38653 r38700 459 459 } 460 460 461 #misc-publishing-actions label[for="post_status"]:before {462 content: "\f173";463 display: inline-block;464 font: normal 20px/1 dashicons;465 speak: none;466 left: -1px;467 padding: 0 5px 0 0;468 position: relative;469 top: 0;470 text-decoration: none !important;471 vertical-align: top;472 -webkit-font-smoothing: antialiased;473 -moz-osx-font-smoothing: grayscale;474 }475 476 461 #pass-strength-result { 477 462 background-color: #eee; -
trunk/src/wp-admin/includes/meta-boxes.php
r38698 r38700 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 79 80 80 switch ( $post->post_status ) { 81 81 case 'private': … … 99 99 </span> 100 100 <?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?> 101 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" ><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit status' ); ?></span></a>101 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" role="button"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit status' ); ?></span></a> 102 102 103 103 <div id="post-status-select" class="hide-if-js"> 104 104 <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'> 105 <label for="post_status" class="screen-reader-text"><?php _e( 'Set status' ) ?></label> 106 <select name="post_status" id="post_status"> 106 107 <?php if ( 'publish' == $post->post_status ) : ?> 107 108 <option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option> … … 145 146 echo esc_html( $visibility_trans ); ?></span> 146 147 <?php if ( $can_publish ) { ?> 147 <a href="#visibility" class="edit-visibility hide-if-no-js" ><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit visibility' ); ?></span></a>148 <a href="#visibility" class="edit-visibility hide-if-no-js" role="button"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit visibility' ); ?></span></a> 148 149 149 150 <div id="post-visibility-select" class="hide-if-js"> … … 202 203 <span id="timestamp"> 203 204 <?php printf($stamp, $date); ?></span> 204 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" ><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a>205 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" role="button"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> 205 206 <fieldset id="timestampdiv" class="hide-if-js"> 206 207 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend>
Note: See TracChangeset
for help on using the changeset viewer.