REST API: Store the user_agent by default in the comments API
|Reported by:||dd32||Owned by:||rachelbaker|
|Component:||Comments||Keywords:||has-patch has-unit-tests commit|
The comments API currently doesn't store the user_agent by default, unless the client specifies it.
As the user_agent field is a user-controllable field, I see no issue with allowing it to be set through the REST API parameters, however believe that it should default to $_SERVER['HTTP_USER_AGENT'] when not specified by the client.