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

@@ -99,7 +99,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
'force' => array(
'type' => 'boolean',
'default' => false,
'description' => __( 'Whether to bypass trash and force deletion.' ),
'description' => __( 'Whether to bypass Trash and force deletion.' ),
),
'password' => array(
'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ),
@@ -955,7 +955,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
/**
* Filters whether a comment can be trashed.
*
* Return false to disable trash support for the post.
* Return false to disable Trash support for the post.
*
* @since 4.7.0
*