[wp-trac] [WordPress Trac] #47244: wp_targeted_link_rel filter should not be applied to 'Custom HTML` widget
WordPress Trac
noreply at wordpress.org
Thu May 16 15:47:45 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:11 audrasjb]:
> Not sure we should arbitrary add `rel` attributes to ''Custom'' HTML
Widget, though (since it's customized code by nature).
Unless I'm missing something, adding `rel="noopener noreferrer"` to any
custom content for additional security was the intention of #43187 (for
posts, comments, term descriptions, etc.) and #46421 (for HTML and Text
widgets).
Thanks for testing the patch! :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47244#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list