Skip to content

Commit 98eb1b1

Browse files
committed
$token should be $this->token
1 parent 45197ec commit 98eb1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/class-wp-json-authentication-oauth1-authorize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function handle_callback_redirect( $verifier ) {
162162
'oauth_verifier' => $verifier,
163163
'wp_scope' => '*',
164164
);
165-
$args = apply_filters( 'json_oauth1_callback_args', $args, $token );
165+
$args = apply_filters( 'json_oauth1_callback_args', $args, $this->token );
166166
$args = urlencode_deep( $args );
167167
$callback = add_query_arg( $args, $callback );
168168

0 commit comments

Comments
 (0)