[wp-trac] [WordPress Trac] #63096: Remove "noopener" from wp_list_bookmarks() output

WordPress Trac noreply at wordpress.org
Wed Mar 19 23:14:03 UTC 2025


#63096: Remove "noopener" from wp_list_bookmarks() output
---------------------------------------+-----------------------
 Reporter:  audrasjb                   |       Owner:  audrasjb
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  6.8
Component:  General                    |     Version:  5.9
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60058" 60058]:
 {{{
 #!CommitTicketReference repository="" revision="60058"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63096#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list