Make WordPress Core

Ticket #42023: 42023.diff

File 42023.diff, 749 bytes (added by munyagu, 7 years ago)
  • src/wp-admin/includes/post.php

     
    15951595                <div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
    15961596                <p class="currently-editing wp-tab-first" tabindex="0">
    15971597                <?php
    1598                         _e( 'This content is currently locked.' );
     1598                    printf( __( '%s is already editing this post.' ), esc_html( $user->display_name ) );
    15991599                        if ( $override )
    1600                                 printf( ' ' . __( 'If you take over, %s will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
     1600                                echo '<br>' . __( 'Do you want to take over?' );
    16011601                ?>
    16021602                </p>
    16031603                <?php