WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8621 closed defect (bug) (wontfix)

script-loader php finish tag

Reported by: necronomicon Owned by:
Milestone: Priority: high
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

script-loader.php

dont closed php tag "?>"
row "448

Change History (2)

comment:1 DD325 years ago

The PHP closing tag is optional. A few of the WordPress files do not include the closing tag.. Some projects have standardised on not including it, as it prevents empty lines at the end of files causing errors. I dont think WordPress standards specify it eitherway..

comment:2 azaozz5 years ago

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version 2.7 deleted

Perhaps we should standardise on not including a closing php tag. It would prevent problems in some cases as seen on the support forum.

Note: See TracTickets for help on using tickets.