Text Changes: Capitalize error messages consistently.

Props Presskopp.
Fixes #42945.

git-svn-id: https://develop.svn.wordpress.org/trunk@47154 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-02-01 20:53:14 +00:00
parent db8a038541
commit b3da2c99a1
4 changed files with 12 additions and 12 deletions

View File

@@ -1272,7 +1272,7 @@ function wp_ajax_replyto_comment( $action ) {
if ( empty( $post->post_status ) ) {
wp_die( 1 );
} elseif ( in_array( $post->post_status, array( 'draft', 'pending', 'trash' ) ) ) {
wp_die( __( 'ERROR: you are replying to a comment on a draft post.' ) );
wp_die( __( 'ERROR: You are replying to a comment on a draft post.' ) );
}
$user = wp_get_current_user();
@@ -1302,7 +1302,7 @@ function wp_ajax_replyto_comment( $action ) {
}
if ( '' == $comment_content ) {
wp_die( __( 'ERROR: please type a comment.' ) );
wp_die( __( 'ERROR: Please type a comment.' ) );
}
$comment_parent = 0;
@@ -1404,7 +1404,7 @@ function wp_ajax_edit_comment() {
}
if ( '' == $_POST['content'] ) {
wp_die( __( 'ERROR: please type a comment.' ) );
wp_die( __( 'ERROR: Please type a comment.' ) );
}
if ( isset( $_POST['status'] ) ) {