WordPress.org

Make WordPress Core

Ticket #25459: 25459.1.diff

File 25459.1.diff, 2.5 KB (added by atimmer, 7 years ago)
  • src/wp-admin/includes/meta-boxes.php

     
    7979?>
    8080</span>
    8181<?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"><?php _e('Edit') ?><span class="screen-reader-text"> (<?php _e( 'Status' ); ?>)</span></a>
    8383
    8484<div id="post-status-select" class="hide-if-js">
    8585<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); ?>" />
     
    125125
    126126echo esc_html( $visibility_trans ); ?></span>
    127127<?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"><?php _e('Edit'); ?><span class="screen-reader-text"> (<?php _e( 'Visibility' ); ?>)</span></a>
    129129
    130130<div id="post-visibility-select" class="hide-if-js">
    131131<input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo esc_attr($post->post_password); ?>" />
     
    185185                printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' );
    186186        }
    187187?>
    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'] ) ); ?>"><?php _ex( 'Browse', 'revisions' ); ?><span> (<?php _e( 'Revisions' ); ?>)</a>
    189189</div>
    190190<?php endif;
    191191
     
    193193<div class="misc-pub-section curtime misc-pub-curtime">
    194194        <span id="timestamp">
    195195        <?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"><?php _e('Edit') ?><span class="screen-reader-text"> (<?php _e( 'Date' ); ?>)</span></a>
    197197        <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'), 1); ?></div>
    198198</div><?php // /misc-pub-section ?>
    199199<?php endif; ?>