#10106 closed defect (bug) (invalid)
wp-config-sample.php missing closing PHP tag
| Reported by: | sojweb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
17 years ago
- Resolution → invalid
- Status new → closed
- Version 2.8
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
@
17 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
wp-config-sample.php with closing PHP tag