File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
* @subpackage JSON API
9
9
*/
10
10
11
- class WP_JSON_Authentication_OAuth1_Authorize {
11
+ class WP_REST_OAuth1_UI {
12
12
/**
13
13
* Request token for the current authorization request
14
14
*
Original file line number Diff line number Diff line change 7
7
8
8
include_once ( dirname ( __FILE__ ) . '/lib/class-wp-json-authentication.php ' );
9
9
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 ' );
11
11
12
12
include_once ( dirname ( __FILE__ ) . '/admin.php ' );
13
13
@@ -147,7 +147,7 @@ function rest_oauth1_register_routes( $response_object ) {
147
147
* sanitized before this.
148
148
*/
149
149
function rest_oauth1_load_authorize_page () {
150
- $ authorizer = new WP_JSON_Authentication_OAuth1_Authorize ();
150
+ $ authorizer = new WP_REST_OAuth1_UI ();
151
151
$ authorizer ->register_hooks ();
152
152
}
153
153
add_action ( 'init ' , 'rest_oauth1_load_authorize_page ' );
You can’t perform that action at this time.
0 commit comments