• I have sites where I used this and put in html and head tags and it worked fine. But now when you save, it strips out the <html>, <head> and <style> tags.
    Not good considering the plugin description says “You enter the contents of the entire HTML file. You can include inline styles, or links to external style sheets and external images.”
    Rolling back to version 1.20 fixes the problem so definitely an issue with v 1.21.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can confirm this – almost all HTML tags are now deleted when saving. Using custom HTML code no longer makes sense.

    The problem is in line 60 of the ucOptions.php file:
    update_option(‘underConstructionHTML’, wp_kses_post($_POST[‘ucHTML’]));

    wp_kses_post() filters the text EXTREMELY – TOO EXTREMELY.

    So for now there are 3 options:
    – waiting for v1.22
    – downgrading to v1.20
    – removing wrapping wp_kses_post()

    I decided to use the last one – cause i hate seeing the “update available” info all the time in the admin area … ??

    Naomi Blindeman

    (@naomiblindeman)

    I had the same issue. Thank you @wordpressdennis for pointing out where the problem was, so I didn’t have to go digging myself ?? I went with the same solution you did!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest version strips out html tags’ is closed to new replies.