[wp-trac] [WordPress Trac] #42695: Text in Widget
WordPress Trac
noreply at wordpress.org
Sat Nov 25 06:27:56 UTC 2017
#42695: Text in Widget
-------------------------------+--------------------
Reporter: dubaicarmelschool | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.2
Component: Widgets | Version: 4.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+--------------------
Changes (by westonruter):
* keywords: => needs-patch
* milestone: Awaiting Review => 4.9.2
Comment:
The `width` and `height` are getting removed for the sake of getting
embeds to resize properly. See [42001] and #42203.
I can see that this logic needs to be prevented for any elements that are
hard-coded with dimensions. We need to limit the replacements to iframes
and other media that come from external embeds
@dubaicarmelschool in the immediate term, please add your `iframe` code to
a Custom HTML widget instead. This will bypass the stripping of the
`width` and `height` attributes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42695#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list