Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8621 closed defect (bug) (wontfix)

script-loader php finish tag

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



dont closed php tag "?>"
row "448

Change History (2)

#1 @DD32
15 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..

#2 @azaozz
15 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.