[wp-trac] [WordPress Trac] #43187: Add pre-save filter to make target="_blank" always secure
WordPress Trac
noreply at wordpress.org
Fri Feb 2 17:07:00 UTC 2018
#43187: Add pre-save filter to make target="_blank" always secure
-------------------------+-----------------------
Reporter: notnownikki | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------
Changes (by azaozz):
* milestone: Future Release => 5.0
Comment:
In 43187.10.diff:
- Added a parameter (the matched link HTML) and some docs for the filter.
- One more test where `target="foo"`.
- Moved adding the filters to default-filters.php as we want them on for
everybody all the time. Seems there is no point in removing and re-adding
them together with the kses filters.
@notnownikki, @iseulde any thoughts or anything else? Thinking this is
good to go in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43187#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list