Make WordPress Core


Ignore:
Timestamp:
10/03/2017 03:10:38 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Posts, Post Types: Simplify the wording in post locking notice.

Props munyagu.
Fixes #42023.

File:
1 edited

Legend:

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

    r41187 r41706  
    15961596        <p class="currently-editing wp-tab-first" tabindex="0">
    15971597        <?php
    1598             _e( 'This content is currently locked.' );
    1599             if ( $override )
    1600                 printf( ' ' . __( 'If you take over, %s will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
     1598            if ( $override ) {
     1599                /* translators: %s: user's display name */
     1600                printf( __( '%s is already editing this post. Do you want to take over?' ), esc_html( $user->display_name ) );
     1601            } else {
     1602                /* translators: %s: user's display name */
     1603                printf( __( '%s is already editing this post.' ), esc_html( $user->display_name ) );
     1604            }
    16011605        ?>
    16021606        </p>
Note: See TracChangeset for help on using the changeset viewer.