Wordpress/tests/qunit/fixtures
Dominik Schilling (ocean90) a2c633fdc7 REST API: Allow setting post formats even if they are not supported by the theme.
A `post_format` not used by the current theme, but supported by core is not a wrong/broken piece of information. It's just not used at this point in time. Therefore we should allow setting and retrieving any of the standard post formats supported in core, even if the current theme doesn't use them.

After this commit, a post's `format` value can survive a round trip through the API, which is a good general design principle for an API.

Merge of [40120] and [40121] to the 4.7 branch.

Props JPry, iseulde, davidakennedy, Drivingralle.
Fixes #39232.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40137 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-27 20:02:43 +00:00
..
customize-header.js
customize-menus.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
customize-settings.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:04:36 +00:00
customize-widgets.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
js-widgets-endpoint.js REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00
updates.js Updates: Improve experience for Bulk Actions when FTP is dismissed. 2016-08-09 01:13:08 +00:00
wp-api-generated.js REST API: Allow setting post formats even if they are not supported by the theme. 2017-02-27 20:02:43 +00:00
wp-api.js REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00