Make WordPress Core

Ticket #24930: 24930.patch

File 24930.patch, 1013 bytes (added by azaozz, 13 years ago)
  • wp-admin/includes/post.php

     
    12611261                ?>
    12621262                <div class="post-locked-message">
    12631263                <div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
    1264                 <p class="currently-editing wp-tab-first" tabindex="0"><?php echo esc_html( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
     1264                <p class="currently-editing wp-tab-first" tabindex="0">
     1265                <?php
     1266
     1267                _e( 'This content is currently locked.' );
     1268
     1269                if ( $override )
     1270                        printf( ' ' . __( 'If you take over, %s will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
     1271
     1272                ?>
     1273                </p>
    12651274                <?php do_action( 'post_locked_dialog', $post ); ?>
    12661275                <p>
    12671276                <a class="button" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a>