Support » Everything else WordPress » Missing Closing Tag

  • I am familiar with php but new to WordPress. I opened a file called admin-header.php, and it appears to be missing a closing tag. The code in question is at the bottom of the page:

    <?php
    screen_meta($hook_suffix);

    do_action(‘admin_notices’);

    if ( $parent_file == ‘options-general.php’ ) {
    require(ABSPATH . ‘wp-admin/options-head.php’);
    }

    I have not found any closing tag in any of the other files that might suggest it is included. Can anyone explain that?

    Gary

Viewing 1 replies (of 1 total)
  • I’m assuming you mean the closing php tag “?>”.

    It isn’t necessary at the bottom of a page.
    Some have the opinion that it speeds up processing to leave it off.

Viewing 1 replies (of 1 total)
  • The topic ‘Missing Closing Tag’ is closed to new replies.