[wp-trac] [WordPress Trac] #38622: XML-RPC wp_newComment should return an error when a field exceeds the maximum length

WordPress Trac noreply at wordpress.org
Wed Nov 2 16:09:57 UTC 2016


#38622: XML-RPC wp_newComment should return an error when a field exceeds the
maximum length
--------------------------+-----------------------------
 Reporter:  rachelbaker   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  4.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We return a `WP_Error` in `wp_handle_comment_submission()` when the
 comment content, author name, author email, or author url exceeds the
 maximum length of its respective database column.  See #10377.

 We should do the same in the XML-RPC `wp_newComment()` method.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38622>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list