Changes between Initial Version and Version 1 of Ticket #53843, comment 9
- Timestamp:
- 01/31/2024 08:10:08 PM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53843, comment 9
initial v1 3 3 > I think this is ready to ship for 6.5, and we can target 6.6 to deprecate the functions... 4 4 5 Yea, seems that `rel="noopener"` may not be needed any more. Thinking it would be good to confirm this 100%. cAs far as I see the current [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#browser_compatibility compatibility chart on MDN] shows the Android WebView as not supporting this yet (this is the browser used by default on phones and also embedded in all kinds of devices like "smart" TVs, etc.).5 Yea, seems that `rel="noopener"` may not be needed any more. Thinking it would be good to confirm this 100%. As far as I see the current [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#browser_compatibility compatibility chart on MDN] shows the Android WebView as not supporting this yet (this is the browser used by default on phones and also embedded in all kinds of devices like "smart" TVs, etc.). 6 6 7 7 Looking at the current patch it only removes the few `rel="noopener"` that are hard-coded in wp-admin. If that's not needed any more thinking we should stop adding it to the user content and deprecate the functions, see `wp_targeted_link_rel()`, `wp_targeted_link_rel_callback()`, `wp_init_targeted_link_rel_filters()`, `wp_remove_targeted_link_rel_filters()` starting here: https://github.com/WordPress/wordpress-develop/blob/6.4/src/wp-includes/formatting.php#L3304.