[wp-trac] [WordPress Trac] #43290: Add rel="noopener" to target="_blank" links by default in menu walker
WordPress Trac
noreply at wordpress.org
Wed Mar 20 19:50:45 UTC 2019
#43290: Add rel="noopener" to target="_blank" links by default in menu walker
---------------------------------------------+-----------------------
Reporter: audrasjb | Owner: welcher
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.2
Component: Menus | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------
Comment (by audrasjb):
Replying to [comment:13 afercia]:
> As mentioned on #46421, I'd suggest to investigate on the actual
usefulness of noreferrer:
> - it was used to support old browsers that had no support for noopener,
see https://mathiasbynens.github.io/rel-noopener/ under "Recommendations"
for browsers details
> - seems redundant after [41741] see #42036
As mentionned on #43280 I think both of the rel attributes should be
added, in order to
keep some consistency with
https://developer.wordpress.org/reference/functions/wp_targeted_link_rel/
If we want to remove noreferrer, I believe we should remove it from that
function ;-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43290#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list