Wordpress/tests
Jonathan Desrosiers 8c85f2dfec REST API: Don't add fields to object when not included in ?_fields=.
In [43087], we improved REST API performance by only rendering the fields specified in the request. Similarly, any fields registered with `register_rest_field()` should only be rendered when included in `?_fields=`.

Props dlh, danielbachhuber.

Merges [43736] to trunk.

Fixes #45099.

git-svn-id: https://develop.svn.wordpress.org/trunk@43986 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-12 20:50:22 +00:00
..
phpunit REST API: Don't add fields to object when not included in ?_fields=. 2018-12-12 20:50:22 +00:00
qunit REST API: Introduce themes endpoint to expose theme-supports values for the active theme. 2018-12-12 03:32:21 +00:00