- Timestamp:
- 11/17/2016 03:52:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r39266 r39278 436 436 */ 437 437 if ( empty( $prepared_comment['comment_content'] ) ) { 438 return new WP_Error( 'rest_comment_content_invalid', __( ' Comment content is invalid.' ), array( 'status' => 400 ) );438 return new WP_Error( 'rest_comment_content_invalid', __( 'Invalid comment content.' ), array( 'status' => 400 ) ); 439 439 } 440 440 … … 638 638 639 639 if ( isset( $prepared_args['comment_content'] ) && empty( $prepared_args['comment_content'] ) ) { 640 return new WP_Error( 'rest_comment_content_invalid', __( ' Comment content is invalid.' ), array( 'status' => 400 ) );640 return new WP_Error( 'rest_comment_content_invalid', __( 'Invalid comment content.' ), array( 'status' => 400 ) ); 641 641 } 642 642
Note: See TracChangeset
for help on using the changeset viewer.