- Timestamp:
- 11/16/2016 12:17:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r39259 r39264 1022 1022 $prepared_comment['comment_author_url'] = $user->user_url; 1023 1023 } else { 1024 return new WP_Error( 'rest_comment_author_invalid', __( 'Invalid comment author id.' ), array( 'status' => 400 ) );1024 return new WP_Error( 'rest_comment_author_invalid', __( 'Invalid comment author ID.' ), array( 'status' => 400 ) ); 1025 1025 } 1026 1026 } … … 1103 1103 ), 1104 1104 'author' => array( 1105 'description' => __( 'The idof the user object, if author was a user.' ),1105 'description' => __( 'The ID of the user object, if author was a user.' ), 1106 1106 'type' => 'integer', 1107 1107 'context' => array( 'view', 'edit', 'embed' ), … … 1188 1188 ), 1189 1189 'parent' => array( 1190 'description' => __( 'The idfor the parent of the object.' ),1190 'description' => __( 'The ID for the parent of the object.' ), 1191 1191 'type' => 'integer', 1192 1192 'context' => array( 'view', 'edit', 'embed' ), … … 1194 1194 ), 1195 1195 'post' => array( 1196 'description' => __( 'The idof the associated post object.' ),1196 'description' => __( 'The ID of the associated post object.' ), 1197 1197 'type' => 'integer', 1198 1198 'context' => array( 'view', 'edit' ),
Note: See TracChangeset
for help on using the changeset viewer.