e3d5e1c6c8
Add a data normalization pass when generating data fixtures for the REST API endpoints. Ensures that the `wp-api-generated.js` fixture won't change between test runs. Set more default properties and use fixed values for any properties that can't be easily controlled (object IDs and derivatives like link). Generate the fixture file with JSON_PRETTY_PRINT so that future diffs are easier to follow. Props jnylen0, netweb. Fixes #39264. git-svn-id: https://develop.svn.wordpress.org/trunk@40061 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
customize-header.js | ||
customize-menus.js | ||
customize-settings.js | ||
customize-widgets.js | ||
updates.js | ||
wp-api-generated.js | ||
wp-api.js |