Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Starkers: No Closing PHP Tag

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42552
    mintertweed
    Participant

    I downloaded the Starkers nude theme recently and I have been redesigning my website with it. I was adding some functions to functions.php. and I noticed something: there is no closing tag at the end of the page for the PHP script. Is this an error OR does it not matter OR am I missing something? I don’t really know much about PHP, but this concerns me. Thank you in advance!

    #123667
    Cyanoxide
    Participant

    I’m pretty sure this isn’t an error. I’ve noticed it in the past and I’m fairly confident the functions file gets gets imported into the PHP of another file (or files) within WordPress. the closing tag is most likely included in that file. This allows WordPress to make sure key functions are always available. I’m not sure if that is actually happening but that’s what I’ve been lead to believe.

    #123755
    __
    Participant

    Actually, you can run into the same problem with the *opening* `

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.