mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
REST API: Improve a few more strings added after the 4.7 string freeze.
See #39178. See also #40720 for potential follow-up steps. git-svn-id: https://develop.svn.wordpress.org/trunk@40606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -76,7 +76,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
'args' => array(
|
||||
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
|
||||
'password' => array(
|
||||
'description' => __( 'The password for the post if it is password protected.' ),
|
||||
'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ),
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
@@ -98,7 +98,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
'description' => __( 'Whether to bypass trash and force deletion.' ),
|
||||
),
|
||||
'password' => array(
|
||||
'description' => __( 'The password for the post if it is password protected.' ),
|
||||
'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ),
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user