We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1f070b + 09ad41e commit 6978ef4Copy full SHA for 6978ef4
basic-auth.php
@@ -65,3 +65,4 @@ function json_basic_auth_error( $error ) {
65
return $wp_json_basic_auth_error;
66
}
67
add_filter( 'json_authentication_errors', 'json_basic_auth_error' );
68
+add_filter( 'rest_authentication_errors', 'json_basic_auth_error' );
0 commit comments