[wp-trac] [WordPress Trac] #46877: Site Health warns about `WP_DEBUG_DISPLAY` when `WP_DEBUG` is the cause.

WordPress Trac noreply at wordpress.org
Thu Apr 11 04:59:21 UTC 2019

#46877: Site Health warns about `WP_DEBUG_DISPLAY` when `WP_DEBUG` is the cause.
 Reporter:  mikeschroder    |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:  site-health needs-patch
  Focuses:  administration  |
 I was testing site health and noticed the messaging for the `WP_DEBUG`
 check doesn't match what is in my test site.

 The warning says "The value, WP_DEBUG_DISPLAY, has either been added to
 your configuration file, or left with its default value.“, which doesn’t
 make it clear that it’s `WP_DEBUG` that did it.


 I think it'd be great to adjust the wording of the message so that it's
 clear to users that `WP_DEBUG` in `wp-config.php` causes/can cause this
 behavior, so that they aren't confused by `WP_DEBUG_DISPLAY` not being in
 their `wp-config.php`.

 I'll have a go at wording, but if someone else gets to it first, then

Ticket URL: <https://core.trac.wordpress.org/ticket/46877>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list