Ticket #25459: 25459.2.diff
File 25459.2.diff, 2.5 KB (added by , 7 years ago) |
---|
-
src/wp-admin/includes/meta-boxes.php
79 79 ?> 80 80 </span> 81 81 <?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?> 82 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js">< ?php _e('Edit') ?></a>82 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><span class="screen-reader-text"><?php _e( 'Status:' ); ?></span> <?php _e('Edit') ?></a> 83 83 84 84 <div id="post-status-select" class="hide-if-js"> 85 85 <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); ?>" /> … … 125 125 126 126 echo esc_html( $visibility_trans ); ?></span> 127 127 <?php if ( $can_publish ) { ?> 128 <a href="#visibility" class="edit-visibility hide-if-no-js">< ?php _e('Edit'); ?></a>128 <a href="#visibility" class="edit-visibility hide-if-no-js"><span class="screen-reader-text"><?php _e( 'Visibility:' ); ?></span> <?php _e('Edit'); ?></a> 129 129 130 130 <div id="post-visibility-select" class="hide-if-js"> 131 131 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo esc_attr($post->post_password); ?>" /> … … 185 185 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 186 186 } 187 187 ?> 188 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>">< ?php _ex( 'Browse', 'revisions' ); ?></a>188 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span class="screen-reader-text"><?php _e( 'Revisions:' ); ?></span> <?php _ex( 'Browse', 'revisions' ); ?></a> 189 189 </div> 190 190 <?php endif; 191 191 … … 193 193 <div class="misc-pub-section curtime misc-pub-curtime"> 194 194 <span id="timestamp"> 195 195 <?php printf($stamp, $date); ?></span> 196 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js">< ?php _e('Edit') ?></a>196 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span class="screen-reader-text"><?php _e( 'Date:' ); ?></span> <?php _e('Edit') ?></a> 197 197 <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'), 1); ?></div> 198 198 </div><?php // /misc-pub-section ?> 199 199 <?php endif; ?>