wordpress
wordpress copied to clipboard
Add option to disable logs in Wordpress
Description
This PR allows the ability to disable the logging of Auth0 errors in Wordpress. This is useful to reduce load, especially in hosted multisite configurations which can have many instances of auth0_error_log forced to stay in memory and to load on every request.
References
Include any links supporting this change such as a:
- GitHub Issue/PR number addressed or fixed
- Auth0 Community post
- StackOverflow post
- Support forum thread
- Related pull requests/issues from other repos
If there are no references, simply delete this section.
Testing
Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.
Also include details of the environment this PR was developed in (language/platform/browser version).
- [ ] This change adds test coverage for new/changed/fixed functionality
Checklist
- [ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
- [ ] All active GitHub checks for tests, formatting, and security are passing
- [ ] The correct base branch is being used, if not
master