WordPress/wp-includes/rest-api
Rachel Baker cdce9d5dac REST API: Allow comments to be created setting the user_agent parameter.
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. The comments API endpoint now allows the comment author's user agent to be set when creating a comment.
Also, the `readonly` property on the `author_user_agent` parameter in the schema was removed.

Props rabmalin for the initial patch.
Fixes #38425.
Built from https://develop.svn.wordpress.org/trunk@38864


git-svn-id: http://core.svn.wordpress.org/trunk@38807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 18:28:32 +00:00
..
endpoints REST API: Allow comments to be created setting the user_agent parameter. 2016-10-21 18:28:32 +00:00
fields REST API: Introduce the Content API endpoints. 2016-10-20 02:55:32 +00:00
class-wp-rest-request.php REST API: Enable sanitize_callback to return WP_Error. 2016-09-14 15:50:29 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-rest-server.php Docs: Improve formatting of filter docs added in [38689]. 2016-10-07 19:24:28 +00:00