mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Administration: Replace contracted verb forms for better consistency.
This changeset replaces contracted verb forms like `doesn't`, `can't`, or `isn't` with non-contracted forms like `does not`, `cannot`, or `is not`, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings. Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya. Fixes #38913. See #39176. git-svn-id: https://develop.svn.wordpress.org/trunk@52978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -124,7 +124,7 @@ switch ( $action ) {
|
||||
}
|
||||
|
||||
if ( ! $post ) {
|
||||
wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) );
|
||||
wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
|
||||
}
|
||||
|
||||
if ( ! $post_type_object ) {
|
||||
@@ -140,7 +140,7 @@ switch ( $action ) {
|
||||
}
|
||||
|
||||
if ( 'trash' === $post->post_status ) {
|
||||
wp_die( __( 'You can’t edit this item because it is in the Trash. Please restore it and try again.' ) );
|
||||
wp_die( __( 'You cannot edit this item because it is in the Trash. Please restore it and try again.' ) );
|
||||
}
|
||||
|
||||
if ( ! empty( $_GET['get-post-lock'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user