WordPress/wp-includes/rest-api/endpoints
TimothyBlynJacobs 2df94804d4 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.

Built from https://develop.svn.wordpress.org/trunk@49334


git-svn-id: http://core.svn.wordpress.org/trunk@49095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 18:32:07 +00:00
..
class-wp-rest-application-passwords-controller.php App Passwords: Support an app_id to uniquely identify instances of an app. 2020-10-22 15:06:09 +00:00
class-wp-rest-attachments-controller.php REST API, Posts: Add a hook to fire once a post, its terms and meta update. 2020-10-16 03:34:08 +00:00
class-wp-rest-autosaves-controller.php REST API: Reuse `namespace` property instead of the undeclared `rest_namespace`. 2020-10-24 13:54:06 +00:00
class-wp-rest-block-directory-controller.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-rest-block-renderer-controller.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-rest-block-types-controller.php Coding Standards: Correct some minor coding standards issues. 2020-10-20 13:29:08 +00:00
class-wp-rest-blocks-controller.php Role/Capability: Use meta caps `edit_post`, `read_post`, and `delete_post` directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-comments-controller.php REST API, XML-RPC: Synchronise empty comment content checks. 2020-10-24 22:46:09 +00:00
class-wp-rest-controller.php REST API: Extract `WP_REST_Controller::get_endpoint_args_for_item_schema()` to a standalone function. 2020-09-07 02:37:07 +00:00
class-wp-rest-plugins-controller.php REST API: Install plugin translations after the plugin install. This only installs for the plugin in question, not all plugins. 2020-07-27 18:31:06 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php REST API: Issue a _doing_it_wrong when registering a route without a permission callback. 2020-07-21 12:03:05 +00:00
class-wp-rest-posts-controller.php REST API: Don't validate status if it hasn't changed. 2020-10-24 16:04:05 +00:00
class-wp-rest-revisions-controller.php Role/Capability: Use meta caps `edit_post`, `read_post`, and `delete_post` directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-search-controller.php Docs: Add `@since` notes for the `$id` parameter of REST API search controller accepting a string. 2020-10-03 01:22:11 +00:00
class-wp-rest-settings-controller.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
class-wp-rest-site-health-controller.php Site Health, App Passwords: Test if the Authorization header is populated correctly. 2020-10-27 18:32:07 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php Taxonomy: Allow for `wp_count_terms( $args )` signature, making passing a taxonomy optional. 2020-08-21 22:32:06 +00:00
class-wp-rest-themes-controller.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-rest-users-controller.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00