Commit 2af76ed
committed
General: Remove
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@60058 602fd350-edb4-49c9-b593-d223f7449a82noopener from links opening in a new tab in wp_list_bookmarks().1 parent 44465fd commit 2af76ed
File tree
2 files changed
+0
-116
lines changed- src/wp-includes
- tests/phpunit/tests/bookmark
2 files changed
+0
-116
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 108 | | |
117 | 109 | | |
118 | 110 | | |
| |||
This file was deleted.
0 commit comments