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

Hide deprecation errors from display #27

Open
edjeavons opened this issue Apr 8, 2024 · 1 comment
Open

Hide deprecation errors from display #27

edjeavons opened this issue Apr 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@edjeavons
Copy link
Member

It's not uncommon for plugins to throw deprecated code messages and displaying them breaks website functionality, e.g. if the error happens before headers are written.

I don't know if this is even possible in WordPress but it would be nice if WP_DEBUG_DISPLAY could be left enabled in config/environments/development.php and have a new setting for it to exclude deprecation error messages.

We generally don't want to disable errors altogether in a development environment because mose other types of message important for us to know about.

@edjeavons edjeavons added the enhancement New feature or request label Apr 8, 2024
@hempsworth
Copy link

https://github.com/volkerschulz/WordPress-Error-Reporting

Good idea. This might do what we are looking for, or the principle can be added to Nebula.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants