Files
wordpress/wp-includes/bookmark-template.php
audrasjb e0dfa1ff54 General: Remove noopener from links opening in a new tab in wp_list_bookmarks().
This changeset removes the automatic addition of `rel="noopener"` from links targeting a new tab via `target="_blank"` in the `wp_list_bookmarks()` function. Since this was introduced, supported browsers have changed their security policies and no longer allow the opened link to have JavaScript access to the previous tab. This also removes the unit test cases previously located in `wpListBookmarks.php` as they were dedicated to test the presence of `rel="noopener"`.

Follow-up to [52061], [59120].

Props audrasjb, rvouill, marineevain, jeremy80.
Fixes #63096.


Built from https://develop.svn.wordpress.org/trunk@60058


git-svn-id: http://core.svn.wordpress.org/trunk@59394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-19 23:15:35 +00:00

12 KiB