[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Tue Sep 19 07:38:24 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
-------------------------------------------------+-------------------------
Reporter: dwrippe | Owner:
Type: defect (bug) | westonruter
Priority: normal | Status: closed
Component: Widgets | Milestone: 4.8.1
Severity: major | Version: 4.8
Keywords: needs-testing has-unit-tests has- | Resolution: fixed
patch commit fixed-major needs-dev-note | Focuses:
-------------------------------------------------+-------------------------
Comment (by ocean90):
In [changeset:"41391"]:
{{{
#!CommitTicketReference repository="" revision="41391"
Widgets: Suppress PHP warnings raised by `DOMDocument::loadHTML()` in
`WP_Widget_Text::is_legacy_instance()` which could appear in Text widget
forms.
Also explicitly use HTML5 doctype when parsing Text widget contents in
legacy mode detection.
Merge of [41251] to the 4.8 branch.
Amends [41050].
See #40951.
Fixes #41622.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:175>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list