[wp-trac] [WordPress Trac] #43290: Add rel="noopener" to target="_blank" links by default in menu walker

WordPress Trac noreply at wordpress.org
Sun Feb 11 21:30:11 UTC 2018


#43290: Add rel="noopener" to target="_blank" links by default in menu walker
-------------------------+-----------------------------
 Reporter:  audrasjb     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Menus        |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 WordPress core previously introduced `rel="noopener"` attribute to
 `target="_blank"` links –which is fine– but I think menu items should also
 add this attribute to target-blank links.

 I know there is already an optional "Link Relationship (XFN)" text input
 but 1) It's optional and tricky for unexperimented users ; 2) I think we
 should add rel="noopener" attribute by default when "Open link in a new
 tab" option is checked and "Link Relationship (XFN)" input is empty.

 Related: #43280 , #37941

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


More information about the wp-trac mailing list