From 378d9f8f7cfbb4b484b2e5d817fc142e700562f6 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Sat, 3 Dec 2016 04:23:17 +0000 Subject: [PATCH] REST API: Merge similar strings in a comments endpoint parameter description. Merge of [39457] to the 4.7 branch. Props ramiy. Fixes #39036. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39458 602fd350-edb4-49c9-b593-d223f7449a82 --- .../rest-api/endpoints/class-wp-rest-comments-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php index 9fe4f90e52..6e1e05d076 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php @@ -1344,7 +1344,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller { ); $query_params['offset'] = array( - 'description' => __( 'Offset the result set by a specific number of comments.' ), + 'description' => __( 'Offset the result set by a specific number of items.' ), 'type' => 'integer', );