Skip to content

Commit

Permalink
Fix namespace in defined() (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 16, 2023
1 parent 8553006 commit b3a21cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-rest-api-auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
function determine_current_user( $user ) {
global $wpdb;

$debug_mode = defined( '\AUTH0_API_DEBUG' ) && \AUTH0_API_DEBUG;
$debug_mode = defined( 'AUTH0_API_DEBUG' ) && \AUTH0_API_DEBUG;

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

0 comments on commit b3a21cf

Please sign in to comment.