-
Notifications
You must be signed in to change notification settings - Fork 384
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
Improve Xdebug warning #3499
Comments
I think we should move this to Site Health. Potentially we can also put the warning in the admin bar. |
We should also consider only showing the warning if |
Hi @westonruter, Like you mentioned, what do you think about:
|
If it is |
Ah, good point. If Xdebug enabled and |
Testing Steps
|
Feature description
As mentioned on #3198 and #1915, there are some issues with the current admin notice that is shown when Xdebug is active. Screenshot:
Mainly, the notice is shown even when it is not actually relevant to the site (i.e. Reader mode is used) or when the user cannot do something about it (i.e. they are not an admin).
I'm seeing that myself as well as I've become numb to that warning and don't even notice it anymore really.
A few thoughts:
manage_options
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
WP_DEBUG
is enabled?Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: