[wp-trac] [WordPress Trac] #35118: WP Admin showing Blank page because of wp-config file
WordPress Trac
noreply at wordpress.org
Wed Dec 16 08:54:17 UTC 2015
#35118: WP Admin showing Blank page because of wp-config file
----------------------------+------------------------------
Reporter: mynamevenu24 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 4.4
Severity: normal | Resolution: invalid
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Bootstrap/Load
Comment:
Hi @mynamevenu24,
Closing tags at the end of a file [http://www.php.net/manual/en/language
.basic-syntax.instruction-separation.php are not required in PHP].
Omitting them helps to prevent developer errors where whitespace is
accidentally left after the closing `?>` tag (`Warning: Cannot modify
header information - headers already sent`), which is just as bad as being
left before `<?php`, but is more difficult to spot.
Closing tag was removed in [10252] for `wp-config-sample.php`, and in
[19712] for all other files.
Related: #6791, #12307, #20196, #21703.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35118#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list