Skip to content

Commit b3a21cf

Browse files
authored
Fix namespace in defined() (#17)
1 parent 8553006 commit b3a21cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-rest-api-auth0.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
function determine_current_user( $user ) {
2323
global $wpdb;
2424

25-
$debug_mode = defined( '\AUTH0_API_DEBUG' ) && \AUTH0_API_DEBUG;
25+
$debug_mode = defined( 'AUTH0_API_DEBUG' ) && \AUTH0_API_DEBUG;
2626

2727
// Only checked, not saved or output anywhere.
2828
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput

0 commit comments

Comments
 (0)