[wp-trac] [WordPress Trac] #21703: wp-comments-post.php missing closing angle bracket in 3.4.1

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 27 20:40:32 UTC 2012


#21703: wp-comments-post.php missing closing angle bracket in 3.4.1
--------------------------+----------------------
 Reporter:  jonjerome     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.4.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:2 jonjerome]:
 > Seems like that decision should be revisited if it is breaking people's
 browsers.

 Closing tags are not required in PHP, and don't have any affect on the
 browser. At most, they prevent a developer error from arising whereby
 whitespace is accidentally left after the closing ?> tag, which is just as
 bad as being left before <?php but is more difficult to spot.

 If I had to guess, the blank page is an error elsewhere, maybe a fatal
 error in a plugin. Or, the redirect is firing but you have whitespace
 leaking into the body via wp-config.php or some other file, and somehow
 Safari s choking on it. Have you actually confirmed this with Safari? I
 wouldn't be surprised if it had nothing to do with it. You can inspect the
 request using an HTTP client or something like webkit's inspector to see
 what is actually going on.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21703#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list