[wp-trac] [WordPress Trac] #43187: Add pre-save filter to make target="_blank" always secure

WordPress Trac noreply at wordpress.org
Thu Nov 22 00:24:05 UTC 2018


#43187: Add pre-save filter to make target="_blank" always secure
-------------------------------------------------+-------------------------
 Reporter:  notnownikki                          |       Owner:  azaozz
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.0
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  revert                                         |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 In [changeset:"43930" 43930]:
 {{{
 #!CommitTicketReference repository="" revision="43930"
 Formatting: Revert pre-save filter adding `rel="noopener"`.

 Removes filters adding `rel="noopener"` to links targeting `_blank`.

 Previous implementation could introduce blank `rel` attributes and could
 corrupt JSON data when saving via the customizer.

 See #43187.
 Reverts [43732] and [43733] from the 5.0 branch.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43187#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list