Opened 15 years ago
Closed 15 years ago
#12236 closed defect (bug) (fixed)
Reference WP_DEBUG in wp-config-sample.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Warnings/Notices | Keywords: | dev-feedback |
Focuses: | Cc: |
Description
Too few plugin authors know about or bother with WP_DEBUG. This often means that plugin code can be improved, both from a PHP and WordPress standpoint.
We should attempt to raise WP_DEBUG's profile by including it at the bottom of wp-config-sample.php.
Especially with the addition of deprecated warnings for function arguments, it makes a lot of sense to try to raise awareness of its existence, and this seems like a start.
dd32 also suggested perhaps SCRIPT_DEBUG could be included as well. Consider the patch a POC.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
+1 A good plugin author is going to get half way through their first plugin and wonder how the you're supposed to debug anything in WordPress env and then seek out and discover that option. Everyone else needs all the help they can get.