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

WordPress Trac noreply at wordpress.org
Thu Nov 8 13:28:16 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:
  fixed-5.0                                      |
-------------------------------------------------+-------------------------

Comment (by nikeo):

 Hi @peterwilsoncc , filtering `content_save_pre` with
 `wp_targeted_link_rel` breaks the publishing of the customize changeset,
 because it ''corrupts'' the JSON of the customized data. It makes it
 impossible to save customizations.

 I've opened a ticket about it :
 https://core.trac.wordpress.org/ticket/45292. I think that the problem
 that should be addressed before releasing WP 5.0, because it can
 potentially impact many websites.

 Are you already aware of the issue and is there a any plan to fix it?
 Thanks

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


More information about the wp-trac mailing list