Opened 8 years ago
Closed 8 years ago
#38425 closed defect (bug) (fixed)
REST API: Allow comments to be created setting the user_agent parameter
Reported by: | rachelbaker | Owned by: | rachelbaker |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | has-patch has-unit-tests commit |
Focuses: | Cc: |
Description
As of WordPress 4.3 the wp_new_comment() function has been updated to allow the comment_agent value to be set when a comment is created. We no longer need to set the value to an empty string.
WP-API Issue: https://github.com/WP-API/WP-API/issues/2786
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Patch added.