[wp-trac] [WordPress Trac] #48720: Define all debugging constants for developers in wp-config.php
WordPress Trac
noreply at wordpress.org
Tue Nov 19 08:57:09 UTC 2019
#48720: Define all debugging constants for developers in wp-config.php
----------------------------+------------------------------
Reporter: davidnash | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 5.3
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by davidnash):
I'd like to thank everyone for looking into this. There are some subtler
points I wasn't aware of (eg the disk filling up if file logging is left
on!).
@wpgurudev I'd like to vote for your patch :-)
But @psykro's simple addition of `define( 'WP_DEBUG_DISPLAY', false );` in
the comments would be enough.
And at the risk of over-stating this, during my own theme/plugin
development I've set `WP_DEBUG` to `true` but turned it off again because
of all the output generated by other plugins. Which means I've probably
contributed to the problem myself.
I think a small change like this could really help improve the quality of
WordPress themes and plugins.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48720#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list