Make WordPress Core


Ignore:
Timestamp:
03/16/2013 08:46:37 PM (13 years ago)
Author:
azaozz
Message:

Post locks: when a dialog is shown move focus to the text, see #23697

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r23725 r23733  
    12311231        <div class="post-locked-message">
    12321232        <div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
    1233         <p><?php esc_html_e( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
     1233        <p class="currently-editing" tabindex="0"><?php esc_html_e( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
    12341234        <p>
    12351235        <a class="button" href="<?php echo esc_url( wp_get_referer() ); ?>"><?php _e('Go back'); ?></a>
     
    12521252        <div class="post-taken-over">
    12531253            <div class="post-locked-avatar"></div>
    1254             <p class="currently-editing"></p>
     1254            <p class="currently-editing" tabindex="0"></p>
    12551255            <p><a class="button button-primary" href="<?php echo esc_url( admin_url('edit.php') ); ?>"><?php _e('Go to All Posts'); ?></a></p>
    12561256        </div>
Note: See TracChangeset for help on using the changeset viewer.