mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-12 10:31:34 +01:00
Use the rest_authorization_required_code() function to return a 401 status code when a permission callback fails due to a user not being logged in. Merges [42421] to the 4.9 branch. Props jaswrks. Fixes #42828. Built from https://develop.svn.wordpress.org/branches/4.9@42422 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42253 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
endpoints | ||
fields | ||
class-wp-rest-request.php | ||
class-wp-rest-response.php | ||
class-wp-rest-server.php |