Opened 8 years ago
Closed 8 years ago
#38466 closed defect (bug) (fixed)
Check if comment content is passed in XML-RPC
Reported by: | markoheijnen | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | XML-RPC | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
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()
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 39045: