Changes between Version 5 and Version 6 of Ticket #64511
- Timestamp:
- 01/23/2026 04:58:13 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64511 – Description
v5 v6 1 The `wp_sanitize_script_attributes()` [https://developer.wordpress.org/reference/functions/wp_sanitize_script_attributes/ function] is no longer used by WordPress Core since [61485]. Its additional utility of adding a `type` attribute was removed in [614 40] as part of #64428.1 The `wp_sanitize_script_attributes()` [https://developer.wordpress.org/reference/functions/wp_sanitize_script_attributes/ function] is no longer used by WordPress Core since [61485]. Its additional utility of adding a `type` attribute was removed in [61415] as part of #64442. 2 2 3 3 WordPress offers robust functionality for working with script tags: [https://developer.wordpress.org/reference/functions/wp_get_script_tag/ wp_get_script_tag()] and [https://developer.wordpress.org/reference/functions/wp_get_inline_script_tag/ wp_get_inline_script_tag()]. Developers are better off with these tools that work with complete SCRIPT tags instead of partial snippets of HTML text.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)