[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
Tue Dec 21 00:10:41 UTC 2021
#53839: Add rel="noopener" to output of wp_list_bookmarks() when target is set to
"_blank"
---------------------------------------------+-----------------------------
Reporter: tw2113 | Owner: hellofromTonya
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"52396" 52396]:
{{{
#!CommitTicketReference repository="" revision="52396"
General: Fix `'rel'` argument in `Tests_Functions_wpListBookmarks` test
datasets.
`wp_list_bookmarks()` arguments include `'link_rel'`, but not `'rel'`.
This commit fixes this argument in the test datasets. It also adds an
expected `'rel=""'` result check, i.e. instead of only checking for
`'noopener'`.
Follow-up to [52395].
Props davidbinda.
Fixes #53839.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53839#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list