Skip to content

Commit 11cb0aa

Browse files
committed
Rename UI class
1 parent d5e0928 commit 11cb0aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/class-wp-json-authentication-oauth1-authorize.php renamed to lib/class-wp-rest-oauth1-ui.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_OAuth1_Authorize {
11+
class WP_REST_OAuth1_UI {
1212
/**
1313
* Request token for the current authorization request
1414
*

oauth-server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
include_once( dirname( __FILE__ ) . '/lib/class-wp-json-authentication.php' );
99
include_once( dirname( __FILE__ ) . '/lib/class-wp-json-authentication-oauth1.php' );
10-
include_once( dirname( __FILE__ ) . '/lib/class-wp-json-authentication-oauth1-authorize.php' );
10+
include_once( dirname( __FILE__ ) . '/lib/class-wp-rest-oauth1-ui.php' );
1111

1212
include_once( dirname( __FILE__ ) . '/admin.php' );
1313

@@ -147,7 +147,7 @@ function rest_oauth1_register_routes( $response_object ) {
147147
* sanitized before this.
148148
*/
149149
function rest_oauth1_load_authorize_page() {
150-
$authorizer = new WP_JSON_Authentication_OAuth1_Authorize();
150+
$authorizer = new WP_REST_OAuth1_UI();
151151
$authorizer->register_hooks();
152152
}
153153
add_action( 'init', 'rest_oauth1_load_authorize_page' );

0 commit comments

Comments
 (0)