Skip to content

Commit f956ab4

Browse files
committed
Rename CLI class
1 parent 11cb0aa commit f956ab4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/class-wp-json-authentication-oauth1-cli.php renamed to lib/class-wp-rest-oauth1-cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class WP_JSON_Authentication_OAuth1_CLI extends WP_CLI_Command {
3+
class WP_REST_OAuth1_CLI extends WP_CLI_Command {
44

55
/**
66
* ## OPTIONS

oauth-server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
include_once( dirname( __FILE__ ) . '/admin.php' );
1313

1414
if ( defined( 'WP_CLI' ) && WP_CLI ) {
15-
include_once( dirname( __FILE__ ) . '/lib/class-wp-json-authentication-oauth1-cli.php' );
15+
include_once( dirname( __FILE__ ) . '/lib/class-wp-rest-oauth1-cli.php' );
1616

17-
WP_CLI::add_command( 'oauth1', 'WP_JSON_Authentication_OAuth1_CLI' );
17+
WP_CLI::add_command( 'oauth1', 'WP_REST_OAuth1_CLI' );
1818
}
1919

2020
/**

0 commit comments

Comments
 (0)