Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debug logging #62

Merged
merged 1 commit into from
May 8, 2024
Merged

Fix debug logging #62

merged 1 commit into from
May 8, 2024

Conversation

jeffreyparker
Copy link
Contributor

Description

In my local testing using the provided docker-compose.yml, I could not see any Duo debug messages when WP_DEBUG is enabled in wp-config.php.

I believe this is because the plugin was trying to use a $WP_DEBUG variable, rather than the WP_DEBUG constant. With this change the debugging messages are now logged.

Motivation and Context

To fix debugging messages to help diagnose issues.

How Has This Been Tested?

Tested locally using the provided docker-compose.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@jeffreyparker jeffreyparker merged commit 73d4289 into main May 8, 2024
1 check passed
@jeffreyparker jeffreyparker deleted the fix_debug_logging branch May 8, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants