#10106 closed defect (bug) (invalid)
wp-config-sample.php missing closing PHP tag
Reported by: | sojweb | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
The config sample file included with 2.8 is missing the closing PHP tag. Someone just needs to stick it back in.
Attachments (1)
Change History (6)
#1
@
16 years ago
- Resolution set to invalid
- Status changed from new to closed
- Version 2.8 deleted
This is a feature, not a bug.
First, closing PHP tags are optional.
More importantly, since this is a user-edited file, it's highly likely that someone's text editor will add a line break after the closing tag, causing error messages that aren't immediately traceable. Leaving off the closing tag avoids that headache.
#2
@
16 years ago
By user-edited, I mean that people copy wp-config-sample.php
and edit it as wp-config.php
Note: See
TracTickets for help on using
tickets.
wp-config-sample.php with closing PHP tag