Administration: Capitalize Trash consistently in various messages and comments.

When used as a noun referring to the "virtual" place, `Trash` should be capitalized.

Props garrett-eclipse, aandrewdixon, Presskopp.
Fixes #45317.

git-svn-id: https://develop.svn.wordpress.org/trunk@47233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-02-10 04:10:09 +00:00
parent 5302cd6514
commit 023d4b2796
24 changed files with 70 additions and 70 deletions

View File

@@ -1364,8 +1364,8 @@ function wp_count_comments( $post_id = 0 ) {
/**
* Trashes or deletes a comment.
*
* The comment is moved to trash instead of permanently deleted unless trash is
* disabled, item is already in the trash, or $force_delete is true.
* The comment is moved to Trash instead of permanently deleted unless Trash is
* disabled, item is already in the Trash, or $force_delete is true.
*
* The post comment count will be updated if the comment was approved and has a
* post ID available.
@@ -1375,7 +1375,7 @@ function wp_count_comments( $post_id = 0 ) {
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int|WP_Comment $comment_id Comment ID or WP_Comment object.
* @param bool $force_delete Whether to bypass trash and force deletion. Default is false.
* @param bool $force_delete Whether to bypass Trash and force deletion. Default is false.
* @return bool True on success, false on failure.
*/
function wp_delete_comment( $comment_id, $force_delete = false ) {
@@ -1445,7 +1445,7 @@ function wp_delete_comment( $comment_id, $force_delete = false ) {
/**
* Moves a comment to the Trash
*
* If trash is disabled, comment is permanently deleted.
* If Trash is disabled, comment is permanently deleted.
*
* @since 2.9.0
*