[wp-trac] [WordPress Trac] #43187: Add content filter to make target="_blank" always secure
WordPress Trac
noreply at wordpress.org
Wed Jan 31 17:44:21 UTC 2018
#43187: Add content filter to make target="_blank" always secure
----------------------------------------+-----------------------------
Reporter: notnownikki | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by notnownikki):
I've added
https://core.trac.wordpress.org/attachment/ticket/43187/43187.1.diff which
has unit tests for the filter function, better target handling (it just
needs target to exist in the link) and better support (and test coverage!)
for manually entered `rel` values.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43187#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list