Make WordPress Core

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#61359 closed defect (bug) (invalid)

No Opener

Reported by: flackofodye's profile flackofodye Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

What is the difference between noopener and noreferrer on thetradetable.com?

Change History (1)

#1 @sabernhardt
9 months ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi! Both are nearly obsolete security precautions when opening links in a new tab. The noreferrer was added for browsers that did not support noopener, and now the noopener is assumed with target="_blank" in modern browsers.
https://mathiasbynens.github.io/rel-noopener/

Of course, if you open the page/resource in the same tab, WordPress would not add those attribute values.

Last edited 9 months ago by sabernhardt (previous) (diff)
Note: See TracTickets for help on using tickets.