We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b5ac8f commit 8de9b80Copy full SHA for 8de9b80
src/Auth.php
@@ -616,7 +616,7 @@ public static function get_auth_header() {
616
/**
617
* If the $auth header is set, use it. Otherwise attempt to use the $redirect_auth header
618
*/
619
- $auth_header = isset( $auth_header ) ? $auth_header : ( isset( $redirect_auth_header ) ? $redirect_auth_header : null );
+ $auth_header = $auth_header !== false ? $auth_header : ( $redirect_auth_header !== false ? $redirect_auth_header : null );
620
621
622
* Return the auth header, pass through a filter
0 commit comments