[wp-trac] [WordPress Trac] #38466: Check if comment content is passed in XML-RPC

WordPress Trac noreply at wordpress.org
Sun Oct 23 19:16:54 UTC 2016


#38466: Check if comment content is passed in XML-RPC
--------------------------+-----------------------------
 Reporter:  markoheijnen  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  2.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Currently empty comments are allowed because
 `wp_handle_comment_submission()` isn't used when creating a new comment.
 Looking at the REST API, it also doesn't use it but still check if the
 comment isn't empty. Let's apply the same behavior for XML-RPC.

 Depends on #14452 for not using `wp_die()` in `wp_new_comment()`

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


More information about the wp-trac mailing list