WordPress/wp-includes/rest-api/endpoints
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
..
class-wp-rest-attachments-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php
class-wp-rest-revisions-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-terms-controller.php
class-wp-rest-users-controller.php