[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 11:32:34 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:  5.2
Component:  General                |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by ocean90):

 You can actually name the constant in the comment: `1: WP_DEBUG_DISPLAY,
 2: WP_DEBUG`. The same should be done for the message about
 `WP_DEBUG_LOG`: `%s: WP_DEBUG_LOG`.

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


More information about the wp-trac mailing list