mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user