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.
1 parent e159009 commit 8c8d4a5Copy full SHA for 8c8d4a5
inc/types/class-base.php
@@ -39,7 +39,7 @@ public function handle_authorisation() {
39
$scope = isset( $_GET['scope'] ) ? wp_unslash( $_GET['scope'] ) : null;
40
$state = isset( $_GET['state'] ) ? wp_unslash( $_GET['state'] ) : null;
41
42
- $client = Client::get_by_client_id( $client_id );
+ $client = Client::get_by_id( $client_id );
43
if ( empty( $client ) ) {
44
return new WP_Error(
45
'oauth2.types.authorization_code.handle_authorisation.invalid_client_id',
0 commit comments