wordpress-develop/src/wp-includes/rest-api
Timothy Jacobs 0187bbdd7e Site Health, App Passwords: Test if the Authorization header is populated correctly.
App Passwords rely on the Authorization header to transport the Basic Auth credentials. For Apache web servers, WordPress automatically includes a RewriteRule to populate the value for servers running in CGI or FastCGI that wouldn't ordinarily populate the value. 

This tests if the header is being filled with the expected values. For Apache users, we direct the user to visit the Permalinks settings to flush their permalinks. For all other users, we direct them to a help document on developer.wordpress.org.

Props Clorith, marybaum, TimothyBlynJacobs.
Fixes #51638.


git-svn-id: https://develop.svn.wordpress.org/trunk@49334 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-27 18:30:03 +00:00
..
endpoints Site Health, App Passwords: Test if the Authorization header is populated correctly. 2020-10-27 18:30:03 +00:00
fields REST API: Prevent PHP warning when metadata schema is missing properties. 2020-10-25 20:28:50 +00:00
search REST API: Introduce search post format handler. 2020-10-12 19:52:57 +00:00
class-wp-rest-request.php REST API: Support a broader range of JSON media types. 2020-10-27 16:42:38 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-rest-server.php REST API: Make sure all supported JSON Schema keywords are output in the index. 2020-10-20 20:17:20 +00:00