Skip to content

Commit 137bacf

Browse files
committed
Prefix authorization class correctly
1 parent f341ff6 commit 137bacf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

authorize-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @subpackage JSON API
99
*/
1010

11-
class WP_JSON_Authentication_Authorize {
11+
class WP_JSON_Authentication_OAuth1_Authorize {
1212
/**
1313
* Request token for the current authorization request
1414
*

oauth-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function json_oauth_api_routes( $data ) {
102102
* sanitized before this.
103103
*/
104104
function json_oauth_load_authorize_page() {
105-
$authorizer = new WP_JSON_Authentication_Authorize();
105+
$authorizer = new WP_JSON_Authentication_OAuth1_Authorize();
106106
$authorizer->register_hooks();
107107
}
108108
add_action( 'init', 'json_oauth_load_authorize_page' );

0 commit comments

Comments
 (0)