[wp-trac] [WordPress Trac] #42988: HTML Code Checking Feature (V4.9) Has Bugs
WordPress Trac
noreply at wordpress.org
Sun Jan 7 01:13:35 UTC 2018
#42988: HTML Code Checking Feature (V4.9) Has Bugs
-------------------------------+------------------------------
Reporter: akaim | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.9.1
Severity: major | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by kravic):
* keywords: needs-screenshots => reporter-feedback
* component: General => Widgets
* severity: normal => major
Comment:
Hi everyone,
I can confirm that Custom HTML widget has serious bug after introducing
HTML check option.
After updating from 4.8 to 4.9.1 on one of the many sites I manage, I lost
all Custom HTML widgets.
Strange thing is that <iframe> tag works, but simple <img> and <p> portion
of HTML breaks everything.
For example, I created two Custom HTML widgets, first is a Facebook page
<iframe> and second simple image banner with one paragraph of text below.
When I saved second widget I had no errors, switched to Menus and switched
back to Widgets, just to find out that both Custom HTML widgets
disappeared.
I also tried with Text widget, Visual tab nicely displays the banner and
the text, but after I saved it, that widget has gone forever.
DevTools console doesn't show any errors.
Code example for Custom HTML widget:
{{{
<img alt="banner" src="http://www.example.com/wp-
content/uploads/2018/01/banner.png">
<p>text</p>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42988#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list