2399173712
In [36533] CURIEs were added to the API responses for the link relation URIs, this makes it a lot easier for clients to look up links by relation. That patch was functional, but broke on edge cases such as embedded responses and collection items with links in the items. This patch instead takes a less obtrusive approach by creating a new `get_compact_response_links` to compliment `get_response_links` making both old and new functionality available. Also the regex for curie relations has been relaxed to `.+` as rel names can have any uri-valid charector in it. Fixes #34729. git-svn-id: https://develop.svn.wordpress.org/trunk@37041 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml.dist | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |