[wp-trac] [WordPress Trac] #37941: add rel="noopener noreferrer" to any target="_blank"
WordPress Trac
noreply at wordpress.org
Fri Dec 15 13:47:25 UTC 2017
#37941: add rel="noopener noreferrer" to any target="_blank"
----------------------------------------+------------------------------
Reporter: Presskopp | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Security | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by Presskopp):
I want to report that if you add a link to the toolbar like so
{{{
$args = array(
...
'href' => 'https://example.com',
'meta' => array(
...
'target' => '_blank',
...
// Add link
$wp_admin_bar->add_node($args);
}}}
it will not have these attributes..
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37941#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list