WordPress/wp-includes/js
Peter Wilson 8c3dd2eb88 General: Remove `noopener` from links opening in a new tab.
Removes the automatic addition of `rel="noopener noreferrer"` from links targeting a new tab or window, `target='_blank'`. 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.

Deprecates:

* `wp_targeted_link_rel()`
* `wp_targeted_link_rel_callback()`
* `wp_init_targeted_link_rel_filters()`: converted to a noop function
* `wp_remove_targeted_link_rel_filters()`: converted to a noop function

The deprecated functions are retained in `formatting.php` as in `SHORTINIT` mode the file is included while `deprecated.php` is not.

This also removes the `noopener` from links hard coded within the WordPress dashboard linking to documentation and other resources.

Props audrasjb, azaozz, dhruval04, dorzki, neo2k23, presskopp, sabernhardt, swissspidy, tobiasbg.
Fixes #53843.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-30 05:19:16 +00:00
..
codemirror
crop
dist Editor: Update packages for 6.7 Beta 1. 2024-09-30 05:11:31 +00:00
imgareaselect
jcrop
jquery External Libraries: Update jQuery Color to version `3.0.0`. 2024-08-30 17:40:14 +00:00
mediaelement Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
plupload Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
swfupload
thickbox Administration: A11y: Hide thickbox close icon from screen readers. 2024-05-17 20:30:15 +00:00
tinymce General: Remove `noopener` from links opening in a new tab. 2024-09-30 05:19:16 +00:00
admin-bar.js Toolbar: Accessibility: Remove adminbar skiplink focus fix. 2024-05-11 18:28:08 +00:00
admin-bar.min.js Toolbar: Accessibility: Remove adminbar skiplink focus fix. 2024-05-11 18:28:08 +00:00
api-request.js
api-request.min.js
autosave.js
autosave.min.js
backbone.js External Libraries: Update the Backbone.js library to version `1.6.0`. 2024-08-08 19:37:19 +00:00
backbone.min.js External Libraries: Update the Backbone.js library to version `1.6.0`. 2024-08-08 19:37:19 +00:00
clipboard.js
clipboard.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
colorpicker.js
colorpicker.min.js
comment-reply.js Comments: Limit comments shortcut to not execute on links. 2024-09-03 20:36:10 +00:00
comment-reply.min.js Comments: Limit comments shortcut to not execute on links. 2024-09-03 20:36:10 +00:00
customize-base.js
customize-base.min.js
customize-loader.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
customize-loader.min.js
customize-models.js
customize-models.min.js
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js
customize-preview.js
customize-preview.min.js
customize-selective-refresh.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
customize-selective-refresh.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
customize-views.js
customize-views.min.js
heartbeat.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
heartbeat.min.js Administration: Increase frequency of heartbeat API requests. 2024-09-11 23:09:16 +00:00
hoverIntent.js
hoverIntent.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
hoverintent-js.min.js
imagesloaded.min.js
json2.js
json2.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
masonry.min.js
mce-view.js Administration: Remove deprecated `unload` event handlers and use `pagehide` (and `pageshow`) when appropriate. 2023-10-09 21:31:27 +00:00
mce-view.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
media-audiovideo.js Build/Test Tools: Update several dependencies. 2024-02-15 16:53:15 +00:00
media-audiovideo.min.js Build/Test Tools: Update several dependencies. 2024-02-15 16:53:15 +00:00
media-editor.js
media-editor.min.js
media-grid.js Docs: Fix typo in a comment in `wp.media.view.Attachment.Details.TwoColumn`. 2024-07-17 11:28:16 +00:00
media-grid.min.js Build/Test Tools: Update several dependencies. 2024-02-15 16:53:15 +00:00
media-models.js Build/Test Tools: Update several dependencies. 2024-02-15 16:53:15 +00:00
media-models.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
media-views.js Coding Standards: Avoid using confusing `!` condition in Media Library selection check. 2024-09-17 22:26:17 +00:00
media-views.min.js Coding Standards: Avoid using confusing `!` condition in Media Library selection check. 2024-09-17 22:26:17 +00:00
quicktags.js
quicktags.min.js
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Replace `twitter/twemoji` with `jdecked/twemoji`. 2024-02-13 14:36:07 +00:00
twemoji.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
underscore.js External Libraries: Update the Underscore.js library to version 1.13.7. 2024-08-10 23:57:16 +00:00
underscore.min.js External Libraries: Update the Underscore.js library to version 1.13.7. 2024-08-10 23:57:16 +00:00
utils.js
utils.min.js
wp-ajax-response.js Administration: A11y: Add `role="alert"` on JS injected admin notices. 2024-06-21 18:17:14 +00:00
wp-ajax-response.min.js Administration: A11y: Add `role="alert"` on JS injected admin notices. 2024-06-21 18:17:14 +00:00
wp-api.js
wp-api.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
wp-backbone.min.js
wp-custom-header.js
wp-custom-header.min.js
wp-embed-template.js
wp-embed-template.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
wp-embed.js
wp-embed.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
wp-emoji-loader.js Emoji: Replace `twitter/twemoji` with `jdecked/twemoji`. 2024-02-13 14:36:07 +00:00
wp-emoji-loader.min.js Emoji: Replace `twitter/twemoji` with `jdecked/twemoji`. 2024-02-13 14:36:07 +00:00
wp-emoji-release.min.js Build/Test Tools: Revert `uglify-js` update. 2024-06-27 12:55:22 +00:00
wp-emoji.js
wp-emoji.min.js
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js
wp-lists.min.js
wp-pointer.js
wp-pointer.min.js
wp-sanitize.js
wp-sanitize.min.js
wp-util.js
wp-util.min.js
wpdialog.js
wpdialog.min.js
wplink.js General: Remove `noopener` from links opening in a new tab. 2024-09-30 05:19:16 +00:00
wplink.min.js General: Remove `noopener` from links opening in a new tab. 2024-09-30 05:19:16 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js