REST API: Update “resource” strings to use the appropriate nouns.

Props ramiy.
Fixes #38811.

git-svn-id: https://develop.svn.wordpress.org/trunk@39342 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Hoyle
2016-11-23 02:42:00 +00:00
parent d6d843dccd
commit 2341473a5f
9 changed files with 115 additions and 115 deletions
@@ -1287,7 +1287,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
$query_params['context']['default'] = 'view';
$query_params['after'] = array(
'description' => __( 'Limit response to resources published after a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to comments published after a given ISO8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
@@ -1316,7 +1316,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
);
$query_params['before'] = array(
'description' => __( 'Limit response to resources published before a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to comments published before a given ISO8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
@@ -1371,7 +1371,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
$query_params['parent'] = array(
'default' => array(),
'description' => __( 'Limit result set to resources of specific parent IDs.' ),
'description' => __( 'Limit result set to comments of specific parent IDs.' ),
'type' => 'array',
'items' => array(
'type' => 'integer',
@@ -1389,7 +1389,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
$query_params['post'] = array(
'default' => array(),
'description' => __( 'Limit result set to resources assigned to specific post IDs.' ),
'description' => __( 'Limit result set to comments assigned to specific post IDs.' ),
'type' => 'array',
'items' => array(
'type' => 'integer',