[wp-trac] [WordPress Trac] #53843: Remove adding of rel="noopener" to links with target="_blank"

WordPress Trac noreply at wordpress.org
Fri Jul 30 22:23:15 UTC 2021


#53843: Remove adding of rel="noopener" to links with target="_blank"
-------------------------+----------------------------
 Reporter:  azaozz       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+----------------------------
 #43187 introduced adding of `rel="noopener noreferrer"` to links with
 `target="_blank"` as a security precaution. Later, in #49558 `noreferrer`
 was removed as no longer needed.

 Since then most browsers were updated to imply `noopener` on links with
 `target="_blank"` making #43187 and similar changes not relevant any more.
 See:
 https://html.spec.whatwg.org/multipage/links.html#following-hyperlinks
 (specs),
 https://developer.mozilla.org/en-
 US/docs/Web/HTML/Element/a#browser_compatibility.

 Adding this ticket now as a reminder to remove all `noopener` when all
 newer browsers implement the specs.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53843>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list