[wp-testers] Missing "?>" tag in "wp-config.sample.php"

Matt Martz matt at sivel.net
Tue Apr 13 14:13:26 UTC 2010


On Tue, Apr 13, 2010 at 9:10 AM, Kirk M <kmb42vt at gmail.com> wrote:
> I found a minor glitch in the in the WP 3.0 nightlies in that the "?>" tag
> is missing from the bottom of the "wp-config.sample.php" file. Although it
> doesn't seem to affect functionality (I ran like that for several days on a
> test install) it really should be there. Unless something I don't understand
> has changed?

It is not required and intentionally left out.  We try to leave it off
of files that users will be editing so that they do not create extra
blank lines after the ?> and cause 'headers already sent' notices to
occur.

-- 
Matt Martz
matt at sivel.net
http://sivel.net/


More information about the wp-testers mailing list