[wp-trac] [WordPress Trac] #47244: wp_targeted_link_rel filter should not be applied to 'Custom HTML` widget
WordPress Trac
noreply at wordpress.org
Fri May 17 00:38:23 UTC 2019
#47244: wp_targeted_link_rel filter should not be applied to 'Custom HTML` widget
--------------------------------------+-----------------------
Reporter: fierevere | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 5.2.1
Component: Widgets | Version: 5.2
Severity: major | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:13 birgire]:
> Just for reference, here are two examples that are currently not caught
Right, thanks. I think these would be acceptable edge cases for now. We
can reconsider them later if there's any evidence of widespread usage,
like with the LiveInternet counter from the ticket description.
Replying to [comment:14 fierevere]:
> Can we still have widget that does not maim the custom HTML code?
That would require a new ticket to discuss full revert of #46421. Given
that per #43187 this filter is also used for other custom HTML content
(posts, comments, term descriptions, etc., as noted above), excluding the
HTML widget would seem a bit inconsistent and arbitrary. Shouldn't this
widget be treated like any other custom content?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47244#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list