[wp-trac] [WordPress Trac] #28551: Add Better Debugging Documentation Into wp-config.php
WordPress Trac
noreply at wordpress.org
Fri Jun 20 11:14:23 UTC 2014
#28551: Add Better Debugging Documentation Into wp-config.php
-------------------------------+-----------------------------
Reporter: philiparthurmoore | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
-------------------------------+-----------------------------
Comment (by philiparthurmoore):
Replying to [comment:7 rmccue]:
> Replying to [comment:6 helen]:
> > Replying to [comment:5 siobhan]:
> >
> > I would use single-line comments (`//` instead of `/* */`) for the
line with the constant, otherwise it's very tedious to uncomment and use
the constant.
>
> Agreed. Personally, I actually like using hash comments (`#`) for lines
of code that can be commented/uncommented, as it makes it clear what's a
comment and what's a disabled line of code. Whether we want to actually
use that pattern, I don't know. :)
This is a really good point.
@siobhan, completely agree about Jetpack - I should have made it clear
that I didn't mean for that to be considered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28551#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list