clone of git://develop.git.wordpress.org/ synced every minute
PHP JavaScript CSS Other
Latest commit 7d2c104 Jan 17, 2017 @rmccue rmccue REST API: Correctly serve the index with PATH_INFO
When hitting the index, untrailingslashit() would make the REST route empty, which would then use the fallback inside WP_REST_Server. This isn't a problem most of the time, but WP_REST_Server contains a fallback to PATH_INFO. Combined with PATH_INFO permalinks, this would give a 404 on the API index, as it attempts to look up a route for "/wp-json/".

Props ccprog.
Fixes #39432.


git-svn-id: https://develop.svn.wordpress.org/trunk@39923 602fd350-edb4-49c9-b593-d223f7449a82
Permalink
Failed to load latest commit information.
src
tests
tools/i18n
.editorconfig Use HTTPS URLs for codex.wordpress.org. Apr 12, 2015
.gitignore Build/Test Tools: Facilitate SVN and Git being co-located in the same… Dec 12, 2016
.jshintrc Build/Test Tools: After [29858], update `.jsintrc` to use spaces, not… Jan 13, 2017
.travis.yml Build/Test Tools: Remove PHP 7.1 from allowed failures Dec 2, 2016
Gruntfile.js
package.json Build/Test Tools: Specify exact node version in package.json. Dec 4, 2016
phpunit.xml.dist
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much … Nov 28, 2015
wp-config-sample.php
wp-tests-config-sample.php