[wp-trac] [WordPress Trac] #53839: Add rel="noopener" to output of wp_list_bookmarks() when target is set to "_blank"
WordPress Trac
noreply at wordpress.org
Fri Jul 30 15:46:46 UTC 2021
#53839: Add rel="noopener" to output of wp_list_bookmarks() when target is set to
"_blank"
-------------------------+-----------------------------
Reporter: tw2113 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
To help aid in hardening WordPress and the web as a whole, it became a
best practice to add `noopener` to the rel attribute for links that have a
target of `_blank`.
I have provided the following patch to add this noopener value to the rel
attributes on the output of wp_list_bookmarks() instances, when a link has
a `_blank` target value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53839>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list