Support

Account

Home Forums General Issues Remove/filter WSIWYG output – remove HTML tags Reply To: Remove/filter WSIWYG output – remove HTML tags

  • Hi Elliot,

    I did some digging around to try and find where I had read that and came up with these 2

    http://hardcorewp.com/2013/always-omit-closing-php-tags-in-wordpress-plugins/
    http://wordpress.org/support/topic/functionsphp-in-a-child-theme

    I think in my case having read the WP.org one and the error saying it was on line 35 when my functions.php only went to line 33 this probably surmises by problem:

    The Codex isn’t wrong. There should be closing PHP tag at the end of the file. Furthermore, that closing tag has to be the very last line of the file. If you have any blank lines after the closing tag, that can break things, too.

    There isn’t any visible text after the closing tag but it appears it might not have been the last line…

    Will check that tonight and try putting the closing tag back in.

    Thanks

    Andrew