Skip to content

Commit f4bfeb6

Browse files
committed
Move JWT into correct dependencies directory
1 parent 6c14bec commit f4bfeb6

File tree

6 files changed

+2
-2
lines changed

6 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"extra": {
4949
"copy-file": {
5050
"tests/autoload.php": "tests/wp-tests/phpunit/wp-tests-config.php",
51-
"vendor/firebase/php-jwt/src/": "wp-includes/rest-api/auth/jwt/"
51+
"vendor/firebase/php-jwt/src/": "wp-includes/php-jwt/"
5252
},
5353
"hooks": {
5454
"pre-commit": "./vendor/xwp/wp-dev-lib/scripts/pre-commit"

jwt-auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function jwt_auth_version_check() {
4747
function jwt_auth_loader() {
4848

4949
// JWT Classes.
50-
foreach ( glob( JWT_AUTH_PLUGIN_DIR . '/wp-includes/rest-api/auth/jwt/*.php' ) as $filename ) {
50+
foreach ( glob( JWT_AUTH_PLUGIN_DIR . '/wp-includes/php-jwt/*.php' ) as $filename ) {
5151
require_once $filename;
5252
}
5353

File renamed without changes.

0 commit comments

Comments
 (0)