Wordpress/tests
James Nylen 392fd09f82 REST API: Cast revision author ID to int.
The `post_author` field is a string internally, but we need to cast it to an integer in the REST API.  This was already done for posts, but not for revisions.  The field is already declared as an integer in both controllers.

Fixes #39871.


git-svn-id: https://develop.svn.wordpress.org/trunk@40063 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-16 20:08:23 +00:00
..
phpunit REST API: Cast revision author ID to int. 2017-02-16 20:08:23 +00:00
qunit REST API: improve test fixture generation, normalizing data. 2017-02-15 17:58:14 +00:00